mirror of https://gitee.com/antv-l7/antv-l7
Merge branch 'heatmap-fix' into 'master'
fix(Amap): setstyle update set map style See merge request !16
This commit is contained in:
commit
7e8b8b379c
|
@ -159,8 +159,8 @@ export default class GaodeMap extends Base {
|
||||||
scene.lngLatToPixel = () => {
|
scene.lngLatToPixel = () => {
|
||||||
return map.lngLatToPixel();
|
return map.lngLatToPixel();
|
||||||
};
|
};
|
||||||
scene.setMapStyle = () => {
|
scene.setMapStyle = style => {
|
||||||
return map.setMapStyle();
|
return map.setMapStyle(style);
|
||||||
};
|
};
|
||||||
scene.fitBounds = extent => {
|
scene.fitBounds = extent => {
|
||||||
return map.setBounds(
|
return map.setBounds(
|
||||||
|
|
Loading…
Reference in New Issue