Commit Graph

31001 Commits

Author SHA1 Message Date
crschmidt
563b828ede Migrate Map MouseControls to MouseDefaults.js. This moves event handling into a control, where we can modify it and edit it without mucking about in the main map class, bringing this portion of the code more into line with the way other aspects of the controls situation work.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@204 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-20 02:29:39 +00:00
crschmidt
83030847a1 Fix Layer.Marker test file: <div id="map"> wasn't defined in the file.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@203 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-20 02:28:23 +00:00
crschmidt
8539ce0a71 Remove old comments.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@202 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-20 02:19:08 +00:00
crschmidt
b842c09705 Register mouseout operator on div to be same as mouseup, so we don't drag ourselves right out of the box.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@201 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-20 01:47:15 +00:00
crschmidt
50a9f706b9 Add the ability to set the zIndex explicitly to the addLayer call, and do so in the markers.html file. This demonstrates the creation of a marker which can be clicked upon to give the url of its icon.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@200 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-20 01:18:17 +00:00
crschmidt
26c2b6651b Remove temporary hacks from Marker.js.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@199 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-20 01:08:46 +00:00
crschmidt
2874c72367 Add Layer.Text tests and supporting data file.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@198 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 22:53:19 +00:00
crschmidt
2684454343 Naturally layer.map is 0 if we never add it to a map in the first place...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@197 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 22:11:07 +00:00
crschmidt
9685524e26 Change position to absolute, and round pixel values. This puts markers back in their place.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@196 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 21:36:56 +00:00
Schuyler Erle
3470045a93 Added proxy.cgi from Mk II(I).
git-svn-id: http://svn.openlayers.org/trunk/openlayers@195 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 19:48:02 +00:00
euzuro
3c740acf17 append markers and features.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@194 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 18:41:47 +00:00
euzuro
92a4ff077b include wfs.html for testing purposes
git-svn-id: http://svn.openlayers.org/trunk/openlayers@193 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 18:41:18 +00:00
euzuro
bfece3fc4e temporary hack to bring over functions from the old application.js
git-svn-id: http://svn.openlayers.org/trunk/openlayers@192 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 18:40:32 +00:00
euzuro
de294029b5 include WFS.js's in the dynamic loader
git-svn-id: http://svn.openlayers.org/trunk/openlayers@191 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 18:39:31 +00:00
euzuro
7e8417959e oops. copy/paste error
git-svn-id: http://svn.openlayers.org/trunk/openlayers@190 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 18:37:22 +00:00
euzuro
0456e80862 this function is private.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@189 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 17:49:55 +00:00
euzuro
aa6228eeaf including Feature.js in dynamic loader. All Tests Pass.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@188 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 17:47:35 +00:00
euzuro
072e0a2b04 this is a dummy commit just because on the last commit, i forgot to specify that i didnt want to commit the changes i had made to Tile/WFS.js. So, know that in [186], the change to fix the bug was *just* the modification to Grid.js. The modifications to Tile/WFS.js were just more small steps in the process of getting WFS ported and working again...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@187 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 17:41:37 +00:00
euzuro
61d3c4412f fixing bug introduced in [184]. just needed to be dereferencing grid (this.grid) and also to be making sure to only try to clean out when the grid has actually been initialized. SOMEBODY PUT THIS BOY IN A SANDBOX UNTIL HE CAN LEARN TO RUN THE DAMN TESTS BEFORE CHECKING IN.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@186 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 17:37:10 +00:00
euzuro
c59e66f167 fixing bug introduced with [179]. basically, the Layer constructor should not be making new divs when it is initialized by a subclass. that was the point of [179]. the problem is that because of the way Layer.Grid is making the call to Layer's initialize() -- createing a new arguments array regardless of the orginal (ie although name is void, it nonetheless creates a new array with one element, a void element) well so then when init gets called it thinks it does have arguments. The real god's truth here is that we need a better way than if (arguments.length > 0) to distinguish between actual object creation and the creation of the classes.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@185 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 17:34:16 +00:00
euzuro
20a13f43a6 make a destroy method and a clear grid. preventing circular refrences and memory leaks
git-svn-id: http://svn.openlayers.org/trunk/openlayers@184 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 16:25:19 +00:00
euzuro
54f519a255 code fixes for [180]. smack me again
git-svn-id: http://svn.openlayers.org/trunk/openlayers@183 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 15:53:35 +00:00
euzuro
e114a80311 updating tests for [180]. smack me. some of them are still failing. seems like it might be browser-related
git-svn-id: http://svn.openlayers.org/trunk/openlayers@182 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 15:52:21 +00:00
euzuro
af81e44e9a JSDOC
git-svn-id: http://svn.openlayers.org/trunk/openlayers@181 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 15:21:04 +00:00
euzuro
59fb5b050d give tiles a reference back to their container OpenLayers.Grid
git-svn-id: http://svn.openlayers.org/trunk/openlayers@180 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 15:19:49 +00:00
euzuro
9b638d91c6 coordinate method calling of subclasses
git-svn-id: http://svn.openlayers.org/trunk/openlayers@179 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 15:05:39 +00:00
euzuro
a5671cd452 subclass WFS layer off of Layer.Marker as well.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@178 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 14:48:26 +00:00
euzuro
95d8c8f2c8 still need to get into the habit of testing *before* committing. im working on it. i promise. fixing test for Tile.Image based on [173].
git-svn-id: http://svn.openlayers.org/trunk/openlayers@177 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 14:46:21 +00:00
euzuro
50fe4e712f update loadFeatures() function
git-svn-id: http://svn.openlayers.org/trunk/openlayers@176 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 14:29:51 +00:00
euzuro
55e0e47c89 bring in Feature.js from old repository
git-svn-id: http://svn.openlayers.org/trunk/openlayers@175 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 14:26:52 +00:00
euzuro
b183aa69ba add ajax code to WFS
git-svn-id: http://svn.openlayers.org/trunk/openlayers@174 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 14:20:47 +00:00
euzuro
70a702a9b0 bubble up the setPosition into the main Tile class. then let subclasses override it if they need to do special things (as in the case of Image).
git-svn-id: http://svn.openlayers.org/trunk/openlayers@173 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 14:11:56 +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
crschmidt
9bff4c30f8 Remove "Hack hack hack" comment, which is no longer true.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@171 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 00:50:53 +00:00
Schuyler Erle
006053f769 Added CLASS_NAME to OpenLayers.Map.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@170 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 19:36:32 +00:00
euzuro
3f60da6dd4 use new WFS tile
git-svn-id: http://svn.openlayers.org/trunk/openlayers@169 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 19:18:37 +00:00
euzuro
78ba803e36 this guy was supposed to get updated in [167]. typo on the commit.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@168 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 19:17:12 +00:00
euzuro
b7e043df92 bubble up more common functionality. no need for multiple accessors
git-svn-id: http://svn.openlayers.org/trunk/openlayers@167 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 19:16:38 +00:00
euzuro
27d2ac30d3 created WFS tile class based on Image tile
git-svn-id: http://svn.openlayers.org/trunk/openlayers@166 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 19:12:10 +00:00
euzuro
b7d58fe9fe bubble up common functionality
git-svn-id: http://svn.openlayers.org/trunk/openlayers@165 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 18:58:36 +00:00
euzuro
ca2c0dba41 wfs doesnt take width and height parameters
git-svn-id: http://svn.openlayers.org/trunk/openlayers@164 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 18:52:58 +00:00
euzuro
f5a5c49ce9 adding a default parameter
git-svn-id: http://svn.openlayers.org/trunk/openlayers@163 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 18:50:20 +00:00
euzuro
28fe8c5a88 JSDOC coding standards
git-svn-id: http://svn.openlayers.org/trunk/openlayers@162 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 18:48:15 +00:00
euzuro
6f57cb4736 oops. forgot a comma. must always remember to test.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@161 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 18:47:11 +00:00
euzuro
bfc49a3ef4 JSDOC coding standards
git-svn-id: http://svn.openlayers.org/trunk/openlayers@160 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 18:38:14 +00:00
euzuro
525c40fd4d take advantage of createImage to set the position on creation. change point to pixel
git-svn-id: http://svn.openlayers.org/trunk/openlayers@159 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 18:29:31 +00:00
euzuro
4d27baa639 JSDOC / coding standards OpenLayers.Tile.Image
git-svn-id: http://svn.openlayers.org/trunk/openlayers@158 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 18:25:36 +00:00
euzuro
14ee4e1146 coding standards. define CLASS_NAME
git-svn-id: http://svn.openlayers.org/trunk/openlayers@157 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 18:01:20 +00:00
euzuro
18e0393d00 renamed to WFS
git-svn-id: http://svn.openlayers.org/trunk/openlayers@156 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 17:58:10 +00:00
euzuro
c8d2628f0d set default parameters (taken from old trunk)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@155 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 17:55:53 +00:00