Closed (fixed)
Project:
Openlayers
Version:
6.x-1.x-dev
Component:
OpenLayers API
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Feb 2010 at 15:25 UTC
Updated:
27 Apr 2010 at 01:34 UTC
Jump to comment: Most recent
Comments
Comment #1
tmcw commentedHave you tried the zoomToFeature or zoomToLayer behaviors?
Comment #2
ec commentedUnfortunaly I can't see this setting? Where is it suppose to be? Thanks.
Comment #3
zzolo commentedThere is the ability to Zoom to Features with a Views Map in 1.x. If you need to do this outside Views, you will have to create a map preset in a module that has this feature defined, as this is difficult in the preset in interface.
Comment #4
zzolo commentedI actually just put in the zoom to layer behavior into cck fields (which is an option in the widget form).
http://drupal.org/cvs?commit=330128
Comment #6
Anonymous (not verified) commentedPlease excuse my ignorance, I'm using 6.x-2.0-alpha4 and don't see this feature. I'm struggling to follow the roadmap is 6.x-2 an improvement on 6.x-1? I would like to automatically zoom to features added to a map, has, or will, the solution @zzolo mentions in #4 been/be added to 6.x-2.0-alpha4? Thanks!
Comment #7
Anonymous (not verified) commentedAh, ignore me, I just found discussions on adding this feature to the 6.x-2 branch here: http://drupal.org/node/764340. Cheers.