[Plugin: Pronamic Google Maps] – Mashup help?
-
I am having trouble with the Pronamic google maps mashup… I have two pages, each with a location defined – one in Limerick, Ireland and the other in Cork.
If I use the [google-maps] shortcode on the page with the Limerick location defined, it works perfectly.
However if I use the following code (by which I hope to incorporate both locations on to one map) in my template file, only the Cork location appears – on any page – and furthermore, it is zoomed in to the very closest level, even though it’s zoomed out quite a bit on the page in the CMS back end.
<?php if(function_exists('pronamic_google_maps_mashup')) { pronamic_google_maps_mashup( array( 'post_type' => 'page' ) , array( 'width' => 514 , 'height' => 700 , 'map_type_id' => 'roadmap' , 'marker_options' => array( 'icon' => 'https://google-maps-icons.googlecode.com/files/photo.png' ) ) ); } ?>
How can I get both locations on the map and ensure the zoom is working correctly?
Thanks for any help!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: Pronamic Google Maps] – Mashup help?’ is closed to new replies.