Pages (4): 1 2 3 4   
Member
Member
vincent3569   08-01-2011, 19:35
#1

hello,

with the new googlemap plugin, is it possible to have an automatic zoom level to have all the geolocalized photos in the google map ?

I have tried with 'auto' in the admin tabs, but it doesn't work.

thanks for help

Member
Member
sbillard   08-01-2011, 20:01
#2

If you have multiple points on the map it will automatically zoom to show them. (This would happen, for instance for an album map.) If you have only one point, as for an image, there is no auto-zoom. (What criteria would it use to zoom to?)

Member
Member
vincent3569   08-01-2011, 20:30
#3

I use Google Map plugin in album.php.
I have several localized pictures, but there is no automatic zoom to show all of them.

is there a specific value to set in "Initial Zoom" ?

Member
Member
sbillard   08-01-2011, 22:01
#4

The only zoom value is the one in the options. Can you post a link to the album where the map does not show all points? It has not failed to do so yet in my testing.

Member
Member
vincent3569   09-01-2011, 22:17
#5

hello,

there is a link to my pre-prod web site with ZenPhoto 1.4 :
http://vincent.bourganel.free.fr/zenphotoNB/index.php?album=neige-a-la-jasserie

There is no value in "Initial Zoom" in plugin tabs

Member
Member
sbillard   10-01-2011, 00:08
#6

The initial value should have defaulted to 16, but of course, if it is ever set differently the default will not be re-applied.

Looks like I need a password to view this page. Maybe you could have a public example. Also try setting the initial zoom to 16. Maybe there is a problem if it is empty.

[edit] I set it to empty on my install--no change in behavior, still zoomed to include all the points.

Member
Member
vincent3569   10-01-2011, 19:40
#7

There is no pwd on this album : http://vincent.bourganel.free.fr/zenphotoNB/index.php?album=neige-a-la-jasserie

I've tried to set zoom value to 16, but the problem remains the same : no zoom on all the points

Member
Member
sbillard   10-01-2011, 22:03
#8

I can't really say what is wrong. There is a bounds computed. I can't tell if it is correct, though. Can you try using the option that initially hides the map. See if that makes a difference. (This makes no difference for me.)

Otherwise, I guess the next step is to make a ticket and attach some images to it so I can experiment. Who knows, maybe being on the other side of the world matters. One other guess is that maybe this version of the Google API actually is localized. If so, then the gps coordinates would need to have commas instead of periods.

There is a function in googleMaps named addPoint() that currently swaps the comma for a period. You might try disabling that.

Member
Member
vincent3569   12-01-2011, 01:22
#9

hello

despite initially hiding of the map, the problem is the same.
I will create a ticket.

what sort of images you need ? some of my georeferenced pictures ?

Member
Member
sbillard   12-01-2011, 03:12
#10

How about those on the album you linked above.

Pages (4): 1 2 3 4   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.