Hello, the leaflet-plugin seems a good starting point.
As background-layers I see hikebikemap, öpnv-map (public transport) and tiles from osm.org as fallback. Hillshading is really nice but should get an update with higher resolution and full coverage of the world.
Aerial images would be nice, but it seems that opengeoserver doesn't to work anymore. Germany-Layer seems not really important in my eyes.
I added the header you like and will add two parameters for "image" and "map" until tommorow.
Regards Tim
Am 21.11.2015 um 13:04 schrieb Simon Legner:
Hi!
On Tue, Nov 17, 2015 at 12:39 AM, Tim Alder tim@alder-digital.de wrote:
I think the whole map application (OSM-Gadget) should someone rewrite in OpenLayers3 or Leaflet. Especially support for mobile should be better and the mediawiki-integration like you mension in "Kartographer".
I started an implementation based on Leaflet: https://github.com/simon04/osm-gadget-leaflet/ Test links are provided in the repository.
By default, it displays the Wikimedia Maps background. Besides, OSM is available. More backgrounds are to come (should we copy the list of the current gadget?).
It fetches parses the URL hash to obtain query parameters and fetches the WIWOSM object.
Also, it displays displaying other articles in the surrounding using the https://tools.wmflabs.org/wp-world/marks-geojson.php service. To ease development, it would be great if wp-world/marks*.php would send a `Access-Control-Allow-Origin: *` header. The GeoJSON variant returns less information than the default (KML) variant, e.g., the image and map icon are missing.
Regards, Simon
Maps-l mailing list Maps-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/maps-l