jgpacker / osm-smart-menu

An OpenStreetMap webextension for Firefox and Chrome
GNU General Public License v3.0
56 stars 12 forks source link

Add Taiwan government maps #33

Closed jidanni closed 4 years ago

jidanni commented 4 years ago

Add Taiwan government maps: e.g., https://maps.nlsc.gov.tw/go/120.86617/24.18169

  1. Maybe only have this appear in the menu if the current coordinates are near Taiwan
  2. Due to their odd design, don't expect this to work unless your browser has zh somewhere within the Accept-Languages header. (Ah, https://github.com/jgpacker/osm-smart-menu/issues/23#issuecomment-653297996 .) else it will just go to their English home page. (But maybe this makes it too much of a bug report generator, so not worth the effort.)
  3. That site itself doesn't update the URL as one moves the map, and would take too much work to extract the current coordinates, so make this just a one way link to visit that site, and not visit other sites when browsing that site.
jidanni commented 4 years ago

Indeed adding each countries' maps would might he a maintenance headache. E.g., not even https://tools.wmflabs.org/geohack/geohack.php?params=24.18169_N_120.86617_E is updated to have them, meaning such lists are hard to maintain.