conf: amap jsAPI

conf/amap
Lei OT 2 years ago
parent c17f8e8f85
commit 29ae7ea77b

@ -22,16 +22,18 @@ export default observer((props) => {
const config = {
container: '#topC',
map: {
// type: 'amap',
type: 'mapbox',
// style: 'blank',
type: 'amap',
// type: 'mapbox',
style: 'blank',
center: [120.19382669582967, 30.258134],
zoom: 2,
pitch: 0,
// scrollZoom: false,
// dragPan: false,
// zoomEnable: false,
// token: 'd78b5ba25a4699a1cb567b7a933e630b', // amap
// amap config
token: 'ac233dbc624b4d2f3f1ee1eb75d8c3bc', // amap JSAPI
mapStyle: 'amap://styles/light',
},
// geoArea: {
// url: 'https://gw.alipayobjects.com/os/alisis/geo-data-v0.1.2/choropleth-data',

Loading…
Cancel
Save