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 43 forks source link

olwidget does not autozoom to a single multilinestring ? #18

Closed elpaso closed 14 years ago

elpaso commented 14 years ago

Hi,

When my infomap has a set of points, the map is correctly zoomed to the extent of the points the same happens when I have a set of multilinestrings, but this doesn't seem to happen when I have a single multilinestring, is this the expected behaviour or did I miss something?

yourcelf commented 14 years ago

Hi elpaso,

I can confirm that there is an issue here, which seems to affect any non-collection geometry type; I'm working on a solution.

yourcelf commented 14 years ago

Hi,

This bug should be fixed in the latest master now. Please let me know if you encounter more trouble.

Thanks, Charlie