WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Pronamic Google Maps] Varying symbols on mashup (1 post)

  1. zew
    Member
    Posted 2 years ago #

    Hello,
    I'v made a website with a map of all posts displayed together. Works fine, but I'm still struggiling to do one thing:
    make the symbols on map vary, depending on post category. Tried several approaches - no result. Is it possible to obtain?

    I used the standard mashup code as a starting point:

    <?php
    pronamic_google_maps_mashup(
    array(
    'post_type' => 'post'
    ) ,
    array(
    'width' => 675 ,
    'height' => 600 ,
    'map_type_id' => 'roadmap' ,
    'marker_options' => array(
    'icon' => 'http://google-maps-icons.googlecode.com/files/photo.png'
    )
    )
    );
    ?>

    Please, help;)

Topic Closed

This topic has been closed to new replies.

About this Topic