Pages (2): 1 2   
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.

Member
Member
vincent3569   19-01-2011, 20:25
#11

I have done some attempts with google_map with ZP 1.3.2.1 and the same georeferenced images :
http://vincent.bourganel.free.fr/zenphotoNB3/index.php?album=neige
it's ok with version of the plugin.

I have created a ticket with some attached pictures.

Member
Member
sbillard   20-01-2011, 00:27
#12

That plugin uses a different version both of the support software and the GoogleMaps API. Comparisons are irrelevant.

Member
Member
vincent3569   20-01-2011, 01:37
#13

of course, but it eliminates problems on photo EXIF data.

Member
Member
sbillard   20-01-2011, 02:32
#14

Well, as the response on the ticket says, I am not seeing the issues on your site or with your images.

But feel free to use that plugin so long as it works for you. However, note that it will no longer be supported.

Member
Member
vincent3569   20-01-2011, 09:07
#15

you don't want support the GoogleMap plugin for Zenphoto's next release ?

it's really bad news: I wanted to use this feature on my site and the plugin is definitely helpful for other users of Zenphoto.

is there no developer's forum for the GoogleMap Api who can help you to solve the problem ?

other solution : restore the GOOGLE_MAPS plugin that existed on the zenphoto version 1.3.2.1.
it used the API V1 which is a bit old, but this plugin worked well

what is your opinion about that ?

Administrator
Administrator
acrylian   20-01-2011, 11:08
#16

You have not read correctly. The GoogleMaps plugin is supported and will be but but the older google_maps plugin you use is not anymore.

Member
Member
vincent3569   20-01-2011, 11:37
#17

Oups, sorry for the mistake :-s
I understand that google_maps will not be supported anymore.

Nevertheless, until the problem on the GoogleMap plugin (included in ZP version 1.4) will be solved, can you explain how to use the plugin GOOGLE_MAPS (included in version 1.3.1.2 ZP) ZP on 1.4?

Administrator
Administrator
acrylian   20-01-2011, 11:48
#18

I am not familiar with both plugins (I have no use for geolocation stuff myself) I guess you can use it as ever, enable it and change the calls to the new maps plugin to use the old ones on your theme.

Member
Member
sbillard   20-01-2011, 21:38
#19

Well, Google will not support that API, so there really is not any futue in it.

As to "correcting" whatever seems wrong with your site. That certainly will not happen here on the forum. Unless you are willing to make the ticket system work, nothing will happen.

As I have said (again and again) This problem does not occur when I test your images nor when I visit your site link as posted above.

So unless someone else experiences this problem and is willing to work for a solution, nothing will get changed.

Member
Member
vincent3569   07-02-2011, 22:23
#20

hi,
some news on that issue :
when I force english language, googlemap well displays my pictures (with correct zoom level)
when I choose another language (or if I choose "HTTP Accept Language "), the zoom level is incorrect...

do you have you some news on the fix of this issue ?

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