在不同地图网站之间互相切换,并尽可能保持地图的中心点一致。目前支持高德地图、百度地图、Google地图、Google地球、overpass turbo。
地图切换 Extension
在不同地图网站之间切换的Chrome扩展(mv3),目前支持高德地图、百度地图、Google地图、Google地球、overpass turbo。它会尽可能保持地图的中心点一致。
如果在扩展选项中设置了 高德地图/百度地图 API key,切换后将会以在地图上的选点为中心(前提有选点)。
当然,目前它仅适用于中国大陆。因为开发它的初心就是为了解决不同地理坐标系之间的偏差。
Read more
如果在扩展选项中设置了 高德地图/百度地图 API key,切换后将会以在地图上的选点为中心(前提有选点)。
当然,目前它仅适用于中国大陆。因为开发它的初心就是为了解决不同地理坐标系之间的偏差。
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "\u5730\u56fe\u5207\u6362", "description": "\u5728\u4e0d\u540c\u5730\u56fe\u7f51\u7ad9\u4e4b\u95f4\u4e92\u76f8\u5207\u6362\uff0c\u5e76\u5c3d\u53ef\u80fd\u4fdd\u6301\u5730\u56fe\u7684\u4e2d\u5fc3\u70b9\u4e00\u81f4\u3002\u76ee\u524d\u652f\u6301\u9ad8\u5fb7\u5730\u56fe\u3001\u767e\u5ea6\u5730\u56fe\u3001Google\u5730\u56fe\u3001Google\u5730\u7403\u3001overpass turbo\u3002", "version": "1.4", "icons": { "16": "images/icon-16.png", "32": "images/icon-32.png", "48": "images/icon-48.png", "64": "images/icon-64.png", "128": "images/icon-128.png", "256": "images/icon-256.png" }, "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAk+rDqP8y7Dm4YTX0hjfql2mNcX18cyIzxgPDxllMP0T5YhLAuW704876ABD7uC05sU/t2QuB91QiiR4NSqbtZttfjav4QUcJ2mHcWXNuvOWZ/WZAmTIyELOdnrKFMkpf4271UiXXpEle/rRmPXwHiFsvHCraXMG8OFAc3eVrSk2j4b0qyW5A1FolWqxlogijQFeDD2uy4iH76WTyAMg+nDGUYDO5tnIkv3Roqpu57tFIUbIqO/PbDGLolH7DRYlxOo4pZ8Q/xIB/Qzu3hqviDk2Lhk+7pOUsPFV6m7/5SmOBh21OTvf1At+G5fP111ksFCu1VYJpl2MN7y9YneDbnwIDAQAB", "background": { "service_worker": "js/service_worker.js", "type": "module" }, "action": { "default_popup": "html/popup.html", "default_icon": { "16": "images/icon-16.png", "32": "images/icon-32.png", "48": "images/icon-48.png", "64": "images/icon-64.png", "128": "images/icon-128.png", "256": "images/icon-256.png" }, "default_title": "\u5730\u56fe\u5207\u6362" }, "options_ui": { "page": "html/options.html", "open_in_tab": true }, "permissions": [ "activeTab", "scripting", "storage" ], "host_permissions": [ "https://*.amap.com/*", "https://*.baidu.com/*", "https://*.google.com/maps", "https://*.google.com.hk/maps", "https://*.google.com.tw/maps" ], "commands": { "command1ToAmap": { "description": "\u5207\u6362\u81f3 \u9ad8\u5fb7\u5730\u56fe", "suggested_key": { "default": "Alt+1", "mac": "Command+1" } }, "command2ToBaiduMap": { "description": "\u5207\u6362\u81f3 \u767e\u5ea6\u5730\u56fe", "suggested_key": { "default": "Alt+2", "mac": "Command+3" } }, "command3ToGoogleSatellite": { "description": "\u5207\u6362\u81f3 Google\u536b\u661f", "suggested_key": { "default": "Alt+3", "mac": "Command+3" } }, "command4ToGoogleEarth": { "description": "\u5207\u6362\u81f3 Google\u5730\u7403", "suggested_key": { "default": "Alt+4", "mac": "Command+4" } }, "command5ToGoogleMap": { "description": "\u5207\u6362\u81f3 Google\u5730\u56fe" }, "command6ToOverpassTurbo": { "description": "\u5207\u6362\u81f3 overpass turbo" } }, "minimum_chrome_version": "91", "homepage_url": "https://github.com/chaofunchengfeng/MapSwitcher"}
Read more