Hi,
Not sure this is a geocoder issue, apologies if not.
I have a directory of business pages. Each page contains a map with the location of that business created with geocoder. Geocoder pulls the information from an address field. The problem:
when showing the node, the map (openlayer) shows the default zoom and is centered at the default position so that, to make any use of the information, the visitor needs to manually zoom in and pan the map.
Is there a way for geocoder to tell to openlayer to center the map on the result? (setting the zoom doesn't matter as much, as a decent default that works with single results is easy to find).
Since the "display field" is part of geocoder I was wondering if the centering could be made part of the same call.
Thank you for this excellent module.
Comments
Comment #1
darioshanghai commentedNever mind.
It's done through an option in Openlayer map's behaviours (Zoom to layer).
Best.