Module talk:OSM Location map: Difference between revisions

Content deleted Content added
Line 765:
::::::::It might be worth dropping a note about all the recent changes on one of the village pumps, done some awesome stuff here and deserves to get used :D '''[[User:Seddon|Seddon]]''' <sup>[[User talk:Seddon|talk]]</sup> 21:59, 24 June 2025 (UTC)
::::::::I understand the feature with the automatic inclusion of inline square brackets before passed to the json parser. I do suggest you create a hidden category <code>OSM Location Map using raw Geojson</code> as this feature is not implemented in other module/template processing of Geojson in Wikipedia. [[User:ChaseKiwi|ChaseKiwi]] ([[User talk:ChaseKiwi|talk]]) 16:49, 5 July 2025 (UTC)
 
== Bug: incorrect marker position ==
 
Markers that are not exactly in the map center are offset from the correct position, and in some cases, the offset can be quite large. In the two examples below, a marker with exactly the same coordinate parameter value is displayed more than 10 km from the correct position. The direction of the offset depends on the marker's position relative to the map center. In both cases, when opening the map in full screen, the marker is displayed at the correct position.
 
{{OSM Location map
|coord = {{coord|-52.8|-71.3}}
|zoom = 7
|width = 800
|height = 800
|float = centre
|label = Ushuaia
|mark-coord = {{coord|-54.801944|-68.303056}}
|mark-title = Ushuaia
|mark-size = 5
}}
{{clear}}
{{OSM Location map
|coord = {{coord|-56.8|-65.3}}
|zoom = 7
|width = 800
|height = 800
|float = centre
|label = Ushuaia
|mark-coord = {{coord|-54.801944|-68.303056}}
|mark-title = Ushuaia
|mark-size = 5
}}
{{clear}} [[User:Ftrebien|Fernando Trebien]] ([[User talk:Ftrebien|talk]]) 04:27, 6 August 2025 (UTC)