Commit Graph

4 Commits

Author SHA1 Message Date
crschmidt
a758b9f3e8 Add 'destroy' function to PanZoom control which unsets the 'map' item on all the buttons. This should prevent memory
leaks by removing the circular references to buttons.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@24 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-13 01:34:27 +00:00
crschmidt
bc8197969d Add buttons to the PanZoom control which currently allow you to zoom to any level. Add a 'zoomTo' function that
allows you to specify a level. This will need to be refactored: Possibly the zoom control will become part of a 
subclass of PanZoom, "largePanZoom", which has a smaller set of controls.

Also add a DEFAULT_ZOOM_LEVELS setting, and an accesssor for said setting.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@23 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-13 01:29:19 +00:00
crschmidt
f2fa6622f1 Change "OpenLayers.Point" to OpenLayers.Pixel, so there's no confusion between LatLon and Point (a problem that has
and still does afflict the Google Maps API).


git-svn-id: http://svn.openlayers.org/trunk/openlayers@19 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-12 22:59:47 +00:00
Schuyler Erle
04ba28f5a4 Revised directory structure (js/ -> lib/, test/ -> tests/) to match JSAN distribution standards, as documented at http://www.openjsan.org/documentation/dists.html.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-12 21:15:53 +00:00