Adds buttons to various map services for opening the same location in different map services.

Latest Version

Version
1.0.1
Update
November 8, 2019
Size
69.74KiB
Developer
Category
Users
116
Rating
4.66667 ★
Manifest Version
2
Web Store Status
Languages Support
English
čeština
See more
Permissions
Https://geoportal.gov.cz/
Storage
See more

MapSwitcher Extension

MapSwitcher is a small extension which adds buttons to various map services for opening the displayed location in a different service.

Currently supported is switching between Google Maps, Mapy.cz and Geoportal.gov.cz.

Homepage:
https://www.nesveda.com/projects/MapSwitcher/

Source code:
https://www.github.com/fnesveda/MapSwitcher/
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx",\t"manifest_version": 2,\t"name": "__MSG_extension_name__",\t"description": "__MSG_extension_description__",\t"default_locale": "en",\t"version": "1.0.1",\t"applications": {\t\t"gecko": {\t\t\t"id": {0516BC41-6FA3-4326-87FE-7EA9101412FE}\t\t}\t},\t"icons": {\t\t"16": "icons/icon-16.png",\t\t"32": "icons/icon-32.png",\t\t"48": "icons/icon-48.png",\t\t"96": "icons/icon-96.png",\t\t"128": "icons/icon-128.png",\t\t"256": "icons/icon-256.png",\t\t"480": "icons/icon-full.png"\t},\t"default_icon": {\t\t"16": "icons/icon-16.png",\t\t"32": "icons/icon-32.png",\t\t"48": "icons/icon-48.png",\t\t"96": "icons/icon-96.png",\t\t"128": "icons/icon-128.png",\t\t"256": "icons/icon-256.png",\t\t"480": "icons/icon-full.png"\t},\t"permissions": [\t\t"https://geoportal.gov.cz/",\t\t"storage"\t],\t"content_scripts": [\t\t{\t\t\t"matches": ["*://*.google.com/maps*", "*://*.google.cz/maps*"],\t\t\t"js": ["scripts/js/main.js",\t\t\t\t"scripts/js/options.js",\t\t\t\t"scripts/js/urls/googlemaps.js",\t\t\t\t"scripts/js/urls/mapycz.js",\t\t\t\t"scripts/js/buttons/googlemaps.js"\t\t\t],\t\t\t"css": ["styles/common.css", "styles/googlemaps.css"]\t\t},\t\t{\t\t\t"matches": ["*://*.mapy.cz/*"],\t\t\t"js": ["scripts/js/main.js",\t\t\t\t"scripts/js/options.js",\t\t\t\t"scripts/js/urls/googlemaps.js",\t\t\t\t"scripts/js/urls/mapycz.js",\t\t\t\t"scripts/js/buttons/mapycz.js"\t\t\t],\t\t\t"css": ["styles/common.css", "styles/mapycz.css"]\t\t}\t],\t"background": {\t\t"scripts": ["scripts/js/background/background.js", "scripts/js/options.js", "scripts/js/urls/geoportal.js"],\t\t"persistent": false\t},\t"options_ui": {\t\t"page": "pages/options.html",\t\t"chrome_style": true\t}}
Read more