(Putting my ca.wiki volunteer hat on)
There is a very old template in ca.wiki about mountain huts [1]. It basically looks and works as it looked and worked in 2007. I'm thinking that it is perhaps a good opportunity to try something I have been wanting to try for a long time: embed a map in a template.
I'm more or less aware how you can do this with Template:Geobox or similar systems relying on collections of maps to put a dot on. However, I was wondering what is the state of the art in the times of Lua, OSM, and Wikidata. Is it possible to have something like this
* Editor introduces geolocation coordinates and saves. * The right OSM tile is chosen based on the coordinates, showing e.g. the 50km surrounding the place. * If users clicks the map, they jump to an actual map where they can zoom etc. Or at least a bigger and more detailed static image showing, say, a 200 km range.
If none of this exists yet, which template would you recommend using today, and what project should I look at for new releases in this direction?
Thank you.
[1] https://ca.wikipedia.org/wiki/Plantilla:Refugi
Quim, check out https://www.mediawiki.org/wiki/Category:Map_extensions
This needs a bit more work than just picking one OSM tile (what if the hut is on the edge of a tile?). ca.wiki does have the WikiMiniAtlas enabled. Clicking the icon next to the coordinates does open an interactive slippy map with catalan labels.
Best, Daniel
On Fri, Jun 13, 2014 at 2:48 PM, Quim Gil qgil@wikimedia.org wrote:
(Putting my ca.wiki volunteer hat on)
There is a very old template in ca.wiki about mountain huts [1]. It basically looks and works as it looked and worked in 2007. I'm thinking that it is perhaps a good opportunity to try something I have been wanting to try for a long time: embed a map in a template.
I'm more or less aware how you can do this with Template:Geobox or similar systems relying on collections of maps to put a dot on. However, I was wondering what is the state of the art in the times of Lua, OSM, and Wikidata. Is it possible to have something like this
- Editor introduces geolocation coordinates and saves.
- The right OSM tile is chosen based on the coordinates, showing e.g. the
50km surrounding the place.
- If users clicks the map, they jump to an actual map where they can zoom
etc. Or at least a bigger and more detailed static image showing, say, a 200 km range.
If none of this exists yet, which template would you recommend using today, and what project should I look at for new releases in this direction?
Thank you.
[1] https://ca.wikipedia.org/wiki/Plantilla:Refugi
-- Quim Gil Engineering Community Manager @ Wikimedia Foundation http://www.mediawiki.org/wiki/User:Qgil
Maps-l mailing list Maps-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/maps-l