Maps icon indicating copy to clipboard operation
Maps copied to clipboard

Allow maps if server has no Internet connection

Open formwandler opened this issue 9 years ago • 3 comments

If the MediaWiki server does not have an Internet connection (which is typical within enterprise Intranets), the Google and OSM maps embedded on client side are empty. The frame is shown, but there is no map.

It would be great if server-side processing could be disabled (e.g. fetching geocode) in order to support showing maps purely fetched and rendered on client-side.

See this mailinglist thread.

formwandler avatar Mar 06 '15 11:03 formwandler

As of version 5.0 it is easy to disable geocoding or use some kind of local source. As in, easy to implement development wise. This has not been implemented yet. Not sure it would be useful. To tackle this feature request more work (not related to geocoding) would need doing I think.

JeroenDeDauw avatar Sep 28 '17 11:09 JeroenDeDauw

Are the Google and OSM maps really empty? map tiles at least should be loaded by the browser and as far as I understood the browser has internet connection?

PeterTheOne avatar Oct 09 '17 13:10 PeterTheOne

If you put {{#display_map:New York}}, Maps will server side do a call to a geocoding service to get the coordinates for New York, and pass that to the client side JS mapping API. This is what is causing the problem this task is about I suspect.

JeroenDeDauw avatar Oct 10 '17 03:10 JeroenDeDauw