Merge branch 'heatmap-fix' into 'master'

fix(Amap): setstyle

update set map style

See merge request !16
This commit is contained in:
thinkinggis 2019-03-19 15:26:24 +08:00
commit 7e8b8b379c
1 changed files with 2 additions and 2 deletions

View File

@ -159,8 +159,8 @@ export default class GaodeMap extends Base {
scene.lngLatToPixel = () => {
return map.lngLatToPixel();
};
scene.setMapStyle = () => {
return map.setMapStyle();
scene.setMapStyle = style => {
return map.setMapStyle(style);
};
scene.fitBounds = extent => {
return map.setBounds(