Pronamic Google Maps
[resolved] Same location on all pages (2 posts)

  1. bmsman
    Posted 4 years ago #

    First of all, great app. So far its been very easy to get going and the features are very simple.

    I made a sample post on a real estate site I'm building and everything is looking great. Then I went to add a new post and entered all the new info in the admin panel and the map finds the location no problem. When i check it in the front end, the map is the same as my original post. tried again with a new post and it keeps pulling the same location.

    I'm using this code:

    	if(function_exists('pronamic_google_maps_mashup')) {
    				'post_type' => 'page'
    			) ,
    				'width' => 395 ,
    				'height' => 241 ,
    				'map_type_id' => 'satellite' ,
    				'zoom' => 5 ,
    				'marker_options' => array(
    					'icon' => 'wp-content/themes/twentyten/images/wsr-gmap-point.png'

    When changing the post_type to post it show all the points but switching back to page it will just show the original location zoomed in. Any idea?

  2. bmsman
    Posted 4 years ago #

    Sorry changed it to this and its doing what i want. I'll figure out why. Thanks!

    <?php if(function_exists('pronamic_google_maps')) {pronamic_google_maps(array(
    	'width' => 395 ,
    	'height' => 241
    } ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Pronamic Google Maps
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic