MichDe / wordpress-geo-mashup

Automatically exported from code.google.com/p/wordpress-geo-mashup
1 stars 0 forks source link

Disable Auto Pan #684

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
WordPress: 3.8.1
Geo Mashup plugin: 1.7.3
Geo Mashup Custom plugin: installed, 1.0
Map layer: Google Maps API v3

Hello everybody,
I'm using GeoMashup to show all posts (global map) of a category. Everything 
works, but for my decision, the INFO WINDOW isn't dinamically positioned over 
the relative Google Maps pin, but in a fixed position, on a side of the map.

The problem:
when I click on a pin, to open the info window, the map shifts automatically. 
I've read a lot of posts and I found that this function is called AutoPan.
To disable it, I've found this option: disableAutoPan (setting it to true).
URL: 
https://developers.google.com/maps/documentation/javascript/reference?hl=de#Info
WindowOptions

I've tried different ways, but I cannot apply it to my GeoMashup.
Someone could help me, please?

Thanks a lot! ;-)

Original issue reported on code.google.com by iRik...@gmail.com on 19 Feb 2014 at 8:49

GoogleCodeExporter commented 9 years ago
I don't see this as a Geo Mashup bug, but a desired customization. Have a look 
a the google v3 customization example here:

https://code.google.com/p/wordpress-geo-mashup/wiki/JavaScriptApi#Usage

Original comment by dylankk...@gmail.com on 20 Feb 2014 at 8:36