mirror of https://gitee.com/antv-l7/antv-l7
Merge pull request #679 from antvis/shihui_fix
fix: change mapbox token
This commit is contained in:
commit
aa587a814c
|
@ -44,7 +44,7 @@ export default class Control extends EventEmitter {
|
||||||
name: `${controlId++}`,
|
name: `${controlId++}`,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
public setPosition(position: PositionName) {
|
public setPosition(position: PositionName = "bottomright") {
|
||||||
// 考虑组件的自动布局,需要销毁重建
|
// 考虑组件的自动布局,需要销毁重建
|
||||||
const controlService = this.controlService;
|
const controlService = this.controlService;
|
||||||
if (controlService) {
|
if (controlService) {
|
||||||
|
|
|
@ -40,7 +40,7 @@ import { MapTheme } from './theme';
|
||||||
let mapdivCount = 0;
|
let mapdivCount = 0;
|
||||||
const LNGLAT_OFFSET_ZOOM_THRESHOLD = 12;
|
const LNGLAT_OFFSET_ZOOM_THRESHOLD = 12;
|
||||||
const MAPBOX_API_KEY =
|
const MAPBOX_API_KEY =
|
||||||
'pk.eyJ1IjoibHp4dWUiLCJhIjoiYnhfTURyRSJ9.Ugm314vAKPHBzcPmY1p4KQ';
|
'pk.eyJ1IjoibHp4dWUiLCJhIjoiY2tvaWZuM2s4MWZuYjJ1dHI5ZGduYTlrdiJ9.DQCfMRbZzx0VSwecQ69McA';
|
||||||
/**
|
/**
|
||||||
* AMapService
|
* AMapService
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue