Commit Graph

23 Commits

Author SHA1 Message Date
euzuro
e31c7aaf0b redefining isBaseLayer is not necessary -- it inherits from OpenLayers.Layer.Markers
git-svn-id: http://svn.openlayers.org/branches/openlayers/2.0@1325 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-22 00:25:17 +00:00
euzuro
c1b8c8dd60 change the '@require:' to '@requires' so as to be compatible with JSDOC standards. put these directly inside the class definition comment block. update script to suggest this and update all source files to follow pattern. Caught a missing @requires in the EventPane.js file
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1206 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-14 23:05:05 +00:00
euzuro
f339e3a93d hash -> hashtable and Hash -> Object -- let there be no confusion, we are *not* using prototype
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1144 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-09 04:36:39 +00:00
euzuro
51ac2b4acf remove useless or duplicate functions from Util.js -- no more: Array prepend() append() -- use push() and unshift(). clear() and indexOf() both removed as they are duplicated in Prototype.js -- all instances replaced and tests updated.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1136 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-09 03:31:06 +00:00
euzuro
f3a072b151 new layerswitcher, improved google layer, boxes layer, grid fix
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1096 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-08 18:20:24 +00:00
crschmidt
a6f999970a Use OpenLayers.loadURL so that we get the benefit of ProxyHost.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@827 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-29 00:32:55 +00:00
euzuro
ff0e83d0a0 bringing all changes from sandbox/euzuro/LayersReworking down into the trunk. this is a merge of r656:HEAD http://svn.openlayers.org/sandbox/euzuro/LayersReworking
git-svn-id: http://svn.openlayers.org/trunk/openlayers@806 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-27 23:16:26 +00:00
Schuyler Erle
ead31f6dc6 Added license headers to all JS source files.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@657 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-21 15:22:48 +00:00
euzuro
8ef2cc58d5 these layers are never base layers
git-svn-id: http://svn.openlayers.org/trunk/openlayers@628 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-20 22:16:38 +00:00
euzuro
6628d38dc5 on destroy(), go through and destroy() all of the features we have created.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@544 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-07 16:12:27 +00:00
euzuro
558c908f3c coding standards
git-svn-id: http://svn.openlayers.org/trunk/openlayers@543 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-07 16:11:29 +00:00
euzuro
78964cf417 keep an array of the features we have created. this will allow us to later destroy() them when the time comes.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@542 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-07 16:10:32 +00:00
euzuro
fd184a3903 little bitta JSDOC
git-svn-id: http://svn.openlayers.org/trunk/openlayers@457 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-29 18:27:24 +00:00
euzuro
82839000d6 add 'selectedFeature' member to Layer.Text so that when the user clicks a second time on the same marker, the popup disappears.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@456 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-29 18:25:56 +00:00
euzuro
8a21a1dba4 only set popup content if values are defined
git-svn-id: http://svn.openlayers.org/trunk/openlayers@455 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-29 18:20:41 +00:00
euzuro
71df3e08fa update text layer to new paradigm
git-svn-id: http://svn.openlayers.org/trunk/openlayers@452 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-29 13:59:06 +00:00
crschmidt
82d01c73cc Working text layer with popups! woohoo! parseText suffered a reindentation, so not as much changed here as it looks like.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@424 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-27 13:11:22 +00:00
crschmidt
fedfaea0bf Continued work on Layer.Text, implementing popups. Still has closure issues.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@375 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 23:08:14 +00:00
crschmidt
c0ec7f9a00 Change @require to @require:
git-svn-id: http://svn.openlayers.org/trunk/openlayers@326 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 17:17:22 +00:00
crschmidt
4917ecac34 Change Layer.Marker to Layer.Markers.
Closes #50.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@278 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 15:35:38 +00:00
crschmidt
9190dd18d2 Add @require pragma to all source files.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@277 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 15:20:31 +00:00
crschmidt
e7c6d4df19 Change order of Marker creation from icon, latlon to latlon,icon. I don't know why I would have done it the other way.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@215 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-20 20:39:33 +00:00
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