OpenStreetMap標誌 OpenStreetMap

How to change Google Maps to OSM globally

於 15 十月 2009 由 KomяpaEnglish發表。

Tired of all those sites, showing Google Maps instead of mapped-by-you OpenStreetMap, and not going to change? That's time to throw away Google Maps with new map changer!

To use it, add this line to your /etc/hosts (for windows - c:\windows\system32\drivers\etc\hosts):

86.57.245.71 mt0.google.com mt1.google.com mt2.google.com mt3.google.com mt.google.com

make sure your proxy (if you use one) has updated its DNS-caches, point your browser to http://maps.google.com and watch OSM appearing instead of old Maps layer.

This service is alpha, bug reports appreciated :)

電郵圖示 Bluesky圖示 Facebook圖示 LinkedIn圖示 Mastodon圖示 Telegram圖示 X圖示

討論

Jacek_lodz2009年10月15日20:32發表的評論

its works. very nice show! :) gratulation :)

ianlopez11152009年10月16日10:50發表的評論

it may not work at first, but once you press the refresh/reload button after doing that (adding the line for the /etc/hosts file), the map transforms - from the Google one to the OSM one. Sometimes, the layers (and transitioning) are a bit different from what you might expect. Other than that, good job.

PhilippeP2009年10月16日15:46發表的評論

Simple , efficient , Impressive :)

except that OSM is also displayed when choosing satellite or relief

Komяpa2009年10月17日21:02發表的評論

The whole project was renamed to Maps Mutator and got extended:

osm.org/user/Kom%D1%8Fpa/diary/8328

登入以留言