fix(Amap): setstyle

This commit is contained in:
thinkinggis 2019-03-19 15:18:28 +08:00
parent 5e2ebd3dad
commit 907ea56ece
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(