WordPress.org

Ready to get started?Download WordPress

Forums

Basic Google Maps Placemarks
Placemarker Links (5 posts)

  1. idorkstah
    Member
    Posted 1 year ago #

    Hello Ian,

    Let me start off by saying that this is a very elegant plugin. I almost completely have it the way I need it.

    I've looked through the support pages and have seen this request addressed to no avail. I currently have 3 place markers set up and was hopeful that there is some way to link to these markers within the page and not externally on Google Maps.

    Could you please provide some insight on how I may accomplish this??

    Your help will be tremendously appreciated. Thank you.

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

  2. Ian Dunn
    Member
    Plugin Author

    Posted 1 year ago #

  3. theSupportProject
    Member
    Posted 1 year ago #

    I just switch over to your plugin Ian because its the only one I could find with Clusters!

    Anyway I had to hack the past map plugin I was using to get the pins on the make to change the url. I'll share if I get it working, tho I don't think it will be pretty.

    What I'll be working on is making so to when someone clicks a pin on a map I can trigger an action and send them to a page or whats cooler is trigger javascript and load related post content with ajax :)

    Anyway though I would add thanks so much for sharing your map work!

  4. theSupportProject
    Member
    Posted 1 year ago #

    Okay so I actually figured something out that was really easy!

    Your code is super clean.

    I am still a noob at sharing code, but here is the logic of what I did.

    Basically in your core plugin you you have a $placemark array and one of the items is an ID, so all I did was go to your main javascript file, and add the 'id' to the to the marker creation array. Then when a user clicks a marker I can trigger and event and use this id to call related post information!

    Awesome plugin!

    I guess to make this general case for all I would have to make it an on off option... anyway very cool stuff!

  5. Ian Dunn
    Member
    Plugin Author

    Posted 1 year ago #

    The release candidate for version 1.10 is out, and have a new viewonmap attribute for the [bgmp-list] shortcode. When it's set to "true", the list will contain links that open the corresponding marker on the map.

    http://wordpress.org/support/topic/bgmp-110-rc1-available

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.