Hi,

I use a textfield together with the Openlayers Geofield Widget Map.
So I geocode the textfield and the result is shown on the Openlayers Widget map. But the map displays the point without zooming closer.

Is there a way to zoom automatically closer when geocoding?

(I know "Zoom to Layer" but this doesnt seem to work in the widget.)

Comments

armyofda12mnkeys’s picture

+1 ...
I'd also be interested in this. I was hoping there would be a zoom option in the
/admin/structure/openlayers/maps/list/geofield_widget_map/edit -> Behaviors section, but couldn't find ...
The user won't know if the geocoded addresss is correct if zoomed so far out.

I thought maybe there would be an option in the 'Zoom to Layer', that has the data layer for the widget (but all there is is the map like google_normal).

Mark F’s picture

Issue summary: View changes

+1
I need this functionality too. Tried zoom to layer but it takes into account all points on the layer, not just the point we are interested in.

arx-e’s picture

+1
Me too I think that would be nice to have this feature!

simon georges’s picture

Project: Geocoder » Geofield
Component: Miscellaneous » GeoField Map

Shouldn't this be a Feature request on Geofield module ?

Max1’s picture

Max1’s picture