WP-Geo icon indicating copy to clipboard operation
WP-Geo copied to clipboard

Problem with zoom and center map

Open webeing opened this issue 12 years ago • 5 comments

I have a problem with the query on wpgeo_map. You can not set the zoom and center.

webeing avatar Nov 21 '13 11:11 webeing

Ah, I think you might still be using the Google API v2? Please check your WP Geo Settings.

If you are you should switch the WP Geo settings to use the v3 api as Google are stopping support for v2 and it will be removed completely in a future version of WP Geo.

benhuson avatar Nov 27 '13 22:11 benhuson

Now I am sure that I have a Google API v3 but I have the same problem. this is the code

'distributore', ); if ( function_exists( 'wpgeo_map' ) ) wpgeo_map($args); ?>

Thanks in advance

webeing avatar Nov 28 '13 09:11 webeing

Are you trying to show a map with all 'distributore' posts? Or a map of a single 'distributore' post on a single page?

benhuson avatar Jan 07 '14 07:01 benhuson

Both. I want to use a map to the single 'distributore' post and a map to all 'distributore' posts

webeing avatar Jan 07 '14 10:01 webeing

Are you trying to show a map with a single marker for the location of the current post? Or a map of all 'distributoire' markers?

benhuson avatar Jan 07 '14 20:01 benhuson