Show a marker on the “centre” location
-
I am designing my hiking website so that it will show not only the “normal” map with the complete GPX trail, but also some small “highlight maps”, with a zoom on the start/end location.
The “complete maps” are pre-generated in the “Waymark maps” section, and I am using the classic shortcode to show them.
Example:
[Waymark map_id="3430"]
But the “hihglight maps” are generated “on the fly”, using a shortcode that shows a map centered on the desired location passing the coordinates in the shortcode.
Example:
[Waymark map_centre="45.8074769645311,7.82282659261358" map_height="300" map_zoom="16" basemap="OpenTopoMaps"]
I am dreaming of an option to show, on the “centre” location, a marker 🙂 This way these “highlight maps”, which aim is just to focus on a particular point, whould highlight explicitly the focus point (right now the focus point is simply “centerd” in the map: good, but it could be better).
See the “Marker_centre” flag here:
[Waymark map_centre="45.8074769645311,7.82282659261358" marker_centre="1" map_height="300" map_zoom="16" basemap="OpenTopoMaps"]
Yes, I know: I could pre-generate these highlight maps as well, and add the marker wherever I want. But it would be really time-consuming: my website will contain about 50 trails, and I would like to avoid generating additional 100 mini-maps by hand (instead, my shortcodes for the highlight maps are currently automatically generated with the help of a formula in an Excel sheet)…
I know I am continuously asking for something, but my website is really leveraging a lot on your plugin 🙂
Bye!
A.-
- The topic ‘Show a marker on the “centre” location’ is closed to new replies.