Commit Graph

64 Commits

Author SHA1 Message Date
euzuro
eeba5a34c6 Changed OpenLayers.Bounds to use left, bottom, right, top INSTEAD OF minlon, minlat, maxlon, maxlat. Removed OpenLayers.Box which was not getting used. JSDOC/coding standard-ified the OpenLayers.Bounds code and wrote thorough testing for it. Should be all good.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@140 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 12:48:52 +00:00
crschmidt
a360238d81 Markers -> this.markers, reverts a change I made and fixes a bug euzuro introduced. (But I don't have a test case for it yet, so it's not his fault.)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@135 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 11:34:21 +00:00
crschmidt
213055fdaa Repeat after me: Test first, then commit. Test first, then commit. Test first, then commit.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@134 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 11:25:58 +00:00
euzuro
eb0d4cbd49 we should always initialize objects in the class's constructor. otherwise, multiple instances of the class will share the same object. Thanks to Phil for finding this bug all over my code in the last version :-)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@125 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 04:51:59 +00:00
euzuro
2ad4e5dbb9 JSDOC / coding standards for Marker Layer
git-svn-id: http://svn.openlayers.org/trunk/openlayers@124 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 04:46:14 +00:00
Schuyler Erle
4d0179df50 Added additional sensible defaults to Layer.WMS.DEFAULT_PARAMS, and fixed constructor to only set defaults on param keys that aren't already set (e.g. format). Added tests, which pass.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@112 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 20:58:00 +00:00
crschmidt
4d0f98f4fe Add working code for Markers -- marker layer and marker object. Also add markers.html to demo use of markers functionality.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@107 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 17:21:57 +00:00
euzuro
ff2e3017f9 Changed constructor for bounds to take minlon, minlat, maxlon, maxlat as its arguments. changed all related usage and comments
git-svn-id: http://svn.openlayers.org/trunk/openlayers@104 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 16:50:12 +00:00
crschmidt
1720fee550 The layer adds the marker to the div. Therefore, some of the code needs to move into the layer: the marker needs to know how to generate an HTML object that will represent it.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@102 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 16:20:08 +00:00
crschmidt
fc7bbe5beb Create "Marker" layer. Add appropriate tests.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@100 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 15:54:42 +00:00
Schuyler Erle
55732b8934 Added setTileSize() method to Layer.Grid. Also, added clone() method to Layer.WMS to make up for lack of a separate data source class.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@63 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-16 22:26:47 +00:00
crschmidt
46035298a5 Begin work on Google Maps Layer. In order to create this layer, layer div creation has been moved into Layer.js, and the div that is created is then slotted into the right place by the map.addLayer function. (This is so that, at layer creation time, a div is available). However, it seems like Google Maps does not know how large the div is for reasons I don't yet understand, and there'se also the fact that our zoom levels differ from Google's at the moment. But it's getting there.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@29 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-13 16:11:52 +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