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;)