diff --git a/public/config.js b/public/config.js new file mode 100644 index 0000000..ef851ba --- /dev/null +++ b/public/config.js @@ -0,0 +1,11 @@ +const isCamera = false; // 是否开启相机限制 +const cameraLon = 116.3974; +const cameraLat = 39.9042; +const cameraRadius = 40000; + +window.mapConfig = { + isCamera: isCamera, + cameraLon: cameraLon, + cameraLat: cameraLat, + cameraRadius: cameraRadius +}; diff --git a/public/index.html b/public/index.html index 789fc87..9b90c80 100644 --- a/public/index.html +++ b/public/index.html @@ -1,36 +1,42 @@ -
- - - - - -