Hello everyone,
I'm making a website cataloging touristic attractions in my area.
I used the Pronamic Google Maps plugin with "mashup" code to display a map of all posts.
#<?php
# pronamic_google_maps_mashup(
# array(
# 'post_type' => 'post'
# ) ,
# array(
# 'width' => 960 ,
# 'height' => 650 ,
# 'map_type_id' => 'roadmap' ,
# 'marker_options' => array(
# 'icon'=> 'http://myserver.pl/photo/icon.png'
# )
# )
# );
#?>
Works perfect, but I would like to make it display different icon .png file, acording what the category of the post if.
For example: post category is "castle" ----> the icon file will be "castle.png"
Sounds trivial, but I can't solve that.
Will you help me? Pls.
Zew