yourcelf / olwidget

Javascript library to replace textareas that contain WKT data with editable OpenLayers maps, and a django app using it for django forms and admin.
Other
91 stars 44 forks source link

I have seen that this line has been commented out from some previous rele #56

Closed capooti closed 13 years ago

capooti commented 13 years ago

I have seen that this line has been commented out from some previous releases. In the case zoomToDataExtent is true, it makes sense to zoom to the extent of the data for polylines and polygons. But for point features the zoom is too high (at least for my use case), so I would leave the possibility to set the defaultZoom properties also when a zoomToDataExtent is true.

yourcelf commented 13 years ago

I'm going to do some testing with this -- it's been a thorny little thing forever, so I don't want to introduce a regression on it.

yourcelf commented 13 years ago

Thanks. The commenting out of that line was indeed accidental.