WordPress.org

Ready to get started?Download WordPress

Forums

Basic Google Maps Placemarks
Marker with numbers (13 posts)

  1. gatelli
    Member
    Posted 1 year ago #

    in the screenshot of this plugin (with Australia view) there are red markers with number inside. Is it part of your plugin ? If yes I couldn't find it ; if not, how to implement it please ?
    Thanks ;)

    http://wordpress.org/extend/plugins/basic-google-maps-placemarks/

  2. Ian Dunn
    Member
    Plugin Author

    Posted 1 year ago #

    Yeah, just go to the Settings page and enable 'Marker Clustering'. You need version 1.10 to get it.

  3. gatelli
    Member
    Posted 1 year ago #

    I was talking about red squared markers, not blue/yellow/ ones (clusters), or maybe I'm missing something..

  4. Ian Dunn
    Member
    Plugin Author

    Posted 1 year ago #

    Oh, ok, those are just custom icons that she created. You can set the icon for a marker to be whatever image you want. The plugin doesn't ship with a set of images, though, you have to use your own.

  5. gatelli
    Member
    Posted 1 year ago #

    Yeh i already did that, but I was interested by the number inside, I imagined the number was copied from a placemarker field...
    thanks anyway !

  6. Ian Dunn
    Member
    Plugin Author

    Posted 1 year ago #

    In that example, the number is something specific to her use case; not a general data point related to the plugin.

    You could set the image programatically if you saved the number in a post meta field and then used the bgmp_default-icon filter to select the corresponding image.

  7. gatelli
    Member
    Posted 1 year ago #

    Good idea, but I'd like to use it in order to inform about numbers between 10 to 100+, so if I understand your method, I need 90 marker images...
    I think there is a js file for gmap3 which is doing this but as I said earlier I'm unable to code this... :(

  8. Ian Dunn
    Member
    Plugin Author

    Posted 1 year ago #

    Yeah, in that case you'd want to just use a blank image and try to overlay the number on top of it in text.

    The Other Notes page has some tips on hiring a developer to make customizations.

  9. Gillian
    Member
    Posted 1 year ago #

    Hi gatelli

    I only just spotted this thread :-)

    For the red squared markers with numbers inside, I generated the number markers with the colour I wanted and downloaded the set from this site. I then use the appropriate custom marker for each placemark.

  10. Ian Dunn
    Member
    Plugin Author

    Posted 1 year ago #

    Awesome, thanks Gillian :)

  11. gatelli
    Member
    Posted 1 year ago #

    Thanks!
    I found a similar site for markers, but how do you select your marker for the placemark? By category ?

  12. Gillian
    Member
    Posted 1 year ago #

    You upload your markers to your Media Library, then insert the one that you want as the featured image in the placemark post. If I have misunderstood your question, please post again.

  13. gatelli
    Member
    Posted 1 year ago #

    caught it ! Thanks I didn't know featured image was working... nice !

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.