cyberhobo / wordpress-geo-mashup

Official repository for Geo Mashup, the plugin that makes WordPress into a GeoCMS. Documentation:
https://github.com/cyberhobo/wordpress-geo-mashup/wiki/Getting-Started
63 stars 15 forks source link

Optionally represent a post as a label #765

Open Paellaman opened 7 years ago

Paellaman commented 7 years ago

Not an issue but a request. I read about adding adding the marker with label http://snipplr.com/view/64303/load-a-javascript-library-markerwithlabel-in-a-geo-mashup-map-frame-template/ and adding other libraries, but cannot figure out how to use it. Does anyone have an example of how to employ the markerwithlabel.js in GeoMashup? What would be ideal is an option per post, to choose between displaying the placemark as an icon or as a label.

cyberhobo commented 7 years ago

I'm afraid I don't have any more current examples, but I will keep this in mind as a feature request.

Paellaman commented 7 years ago

Thanks a lot for adding this as a possible new enhancement. Maybe there's a way to alter the plugin in such way that it is possible to use other scripts from the google maps utility library as well. For displaying a marker as label, the infobox.js and richmarker.js examples do a similar thing with labels and overlays. Maybe it's possible to add a box, per post, where one could enter specific snippets for that marker. Such would make the plugin even more versatile.