crschmidt
519fb6da15
Add working version of text file layer. (For those of you playing along at home, this was about 45 minutes of work -- part of which was trying to figure out why the data file wouldn't work, only to find out I had expandtab on in vim -- so I wasn't typing tabs, i was typing spaces!)
...
This has uncovered the fact that there is some logical error in our code somewhere: Visit markers.html then click the purple marker repeatedly. Despite the fact that you start clicking in the sea, the marker moves north, as does your center point.
This text file layer does not yet support popups or anything else, just drawing the images at a lat/lon with an 'image' given in the textfile.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@172 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 02:26:00 +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
crschmidt
70d425580c
Add empty class definitions for Icon, Marker to be filled in as part of bugs #5 and #6 respectively
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@85 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 03:50:53 +00:00
crschmidt
aa1630bf41
Rearrange Rico includes.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@72 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 01:50:02 +00:00
crschmidt
b81d81b67b
Add Rico/Corner back to code from old OpenLayers codebase.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@69 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 01:24:52 +00:00
crschmidt
54c0403850
add LayerSwitcher control. Currently, when added, this will simply loop through all the map layers, display a div (with text in it) which allows you tu turn the layer on or off. Layer visibility is a new concept in Layer.js, including a getter and setter, which uses the style.visibility prop to change the status of the layer.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@31 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-14 02:44:49 +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
Schuyler Erle
50caed2d35
One last fix to make OpenLayers.js work with the new directory scheme.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@13 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-12 22:15:56 +00:00
Schuyler Erle
6f421094d2
Fixed example.html and OpenLayers.js to use lib/ instead of js/.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-12 22:02:21 +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