ZenphotoCMS Forum
GoogleMap plugin - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: GoogleMap plugin (/thread-8079.html)

Pages: 1 2


GoogleMap plugin - vincent3569 - 2011-01-08

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




GoogleMap plugin - sbillard - 2011-01-08

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?)




GoogleMap plugin - vincent3569 - 2011-01-08

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" ?




GoogleMap plugin - sbillard - 2011-01-08

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.




GoogleMap plugin - vincent3569 - 2011-01-09

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




GoogleMap plugin - sbillard - 2011-01-10

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.




GoogleMap plugin - vincent3569 - 2011-01-10

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




GoogleMap plugin - sbillard - 2011-01-10

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.




GoogleMap plugin - vincent3569 - 2011-01-12

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 ?




GoogleMap plugin - sbillard - 2011-01-12

How about those on the album you linked above.




GoogleMap plugin - vincent3569 - 2011-01-19

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.




GoogleMap plugin - sbillard - 2011-01-20

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




GoogleMap plugin - vincent3569 - 2011-01-20

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




GoogleMap plugin - sbillard - 2011-01-20

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.




GoogleMap plugin - vincent3569 - 2011-01-20

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 ?




GoogleMap plugin - acrylian - 2011-01-20

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.




GoogleMap plugin - vincent3569 - 2011-01-20

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?




GoogleMap plugin - acrylian - 2011-01-20

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.




GoogleMap plugin - sbillard - 2011-01-20

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.




GoogleMap plugin - vincent3569 - 2011-02-07

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 ?