constant.js
340 Bytes
export const MAP_KEY = "c3c66897b0c7c3170ba7f3b596e76e6b";
// 地图插件
export const MAP_PLUGINS = [
"AMap.ToolBar",
"AMap.Geocoder",
"AMap.MapType",
"AMap.Geolocation",
];
export const CONSTANT = {
MAP_KEY,
MAP_PLUGINS,
AMAP_URL: `https://webapi.amap.com/maps?v=1.4.8&key=${MAP_KEY}&plugin=${MAP_PLUGINS.toString()}`,
};