Support » Plugin: Geo Mashup » Multiple articles with same Location and Category get default Pin on Map

  • Resolved dfreax

    (@dfreax)


    Hi, I use Geo Mashup (a great plugin) on this page. On my page there are two authors that travel around the world – sometimes together and sometimes alone. There are three categories set up and in Geo Mashup each category get’s a pin in a different color. Category 1 = Author 1 (yellow pin); Category 2 = Author 2 (blue pin); Category 3 = Both together (black pin – same pin as the default pin).
    Author 1 now wrote 3 articles at the same location (New York). All three posts have just “Category 1” as category. But since there are multiple articles, Geo Mashup shows the default pin on the map (which is black). It would be cool if the plugin would show the correct pin if all posts have the same category. Any solution on this?
    Thanks.
    David

    http://wordpress.org/extend/plugins/geo-mashup/

Viewing 1 replies (of 1 total)
  • Plugin Author Dylan Kuhn

    (@cyberhobo)

    Geo Mashup by default uses an icon with a plus sign when there are multiple items in one location.

    You can implement more complex rules to choose which marker to use with the multiObjectMarker action in your custom.js file. There’s a simple example of that action here:

    http://snipplr.com/view/64680/wordpress-geo-mashup-mapstraction-custom-markers/

    You could look at the results of GeoMashup.getMarkerObjects( marker ) and decide based on your criteria which marker icon to use.

Viewing 1 replies (of 1 total)
  • The topic ‘Multiple articles with same Location and Category get default Pin on Map’ is closed to new replies.