• Resolved bmsman

    (@bmsman)


    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:

    <?php
    	if(function_exists('pronamic_google_maps_mashup')) {
    
    		pronamic_google_maps_mashup(
    			array(
    				'post_type' => 'page'
    			) ,
    			array(
    				'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?

Viewing 1 replies (of 1 total)
  • Thread Starter bmsman

    (@bmsman)

    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
    	));
    } ?>
Viewing 1 replies (of 1 total)
  • The topic ‘Same location on all pages’ is closed to new replies.