euzuro
48abf71cea
fix dynamic load instruction for Popup.js subclass
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@340 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 00:29:48 +00:00
euzuro
02303334c6
now we dont have to complicate the dynamic load process.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@339 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 00:28:34 +00:00
euzuro
e727450196
no reason for Popup to be using an OpenLayers construct in the declaration phase. make it WIDTH and HEIGHT instead of using OpenLayers.Size.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@338 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 00:27:46 +00:00
euzuro
854a468373
add code to properly place the anchored popup. include it in dynamic loader. add testing code in demo popups.html
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@337 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 00:20:35 +00:00
euzuro
123e959c7e
add 'map' reference to standard popup. make sure to nullify it in the destroy()
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@336 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 00:19:24 +00:00
euzuro
4dcd798e59
give popups a reference back to map
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@335 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 00:06:35 +00:00
euzuro
b55debdd48
adding determineQuadrant() function to OpenLayers.Bounds. Tests included.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@334 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 23:43:09 +00:00
euzuro
3ece5e35fd
adding skeleton for anchored popup
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@333 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 23:14:34 +00:00
euzuro
147d91c056
JSDOC
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@332 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 23:12:31 +00:00
euzuro
ca8f03bc2c
popup does not need to store reference to his parent. to remove himself, he uses parentNode directly from his Div DOMElement. see r231
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@331 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 23:09:23 +00:00
euzuro
0f7f771637
make tileSize member variable safe in Grid.js
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@330 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 23:04:35 +00:00
euzuro
06cbeb2f11
fix for #60
...
conversions to/from lonlat/px need to take into account
the offset of the layersContainerDiv.
I have introduced the following functions for converting
between layer and screen pixel values:
getLayerPxFromScreenPx() and getScreenPxFromLayerPx()
they are pretty self-explanitory.
I then renamed:
getPixelFromLonLat() and getLonLatFromPixel()
to:
getScreenPxFromLonLat() and getLonLatFroScreenmPx()
and added:
getLayerPxFromLonLat() and getLonLatFromLayerPx()
updates were made throughout the code, demos, and tests
so everything should still run smoothly.
-e-
git-svn-id: http://svn.openlayers.org/trunk/openlayers@329 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 18:45:50 +00:00
crschmidt
e5bb6b7dbd
Finish of r326, adding : to @require pragmas
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@328 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 17:39:21 +00:00
crschmidt
213a1b02d1
A couple changes got rolled into r326 that weren't meant to: Rolling them back out.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@327 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 17:38:27 +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
euzuro
875cfb20b6
for testing getPixelFromLonLat()
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@325 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 16:44:41 +00:00
euzuro
14196834bb
the proxy reference can safely be shortened. thanks phil
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@324 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 16:14:52 +00:00
crschmidt
201e478c63
Complete refactoring of PanZoomBar. This changes all event handling to be through the Events class, which wasn't the case in the past: this has the result of changing the 'this' object from being the slider, div, etc. to being the Control itself, which simplifies much of the code, and probably removes a few circular references.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@323 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 13:44:29 +00:00
Schuyler Erle
5d1bc5ed78
Fixed redundant tileSize definition.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@318 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 06:26:54 +00:00
Schuyler Erle
0e6b61c352
All tests now pass in IE.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@315 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 05:46:54 +00:00
Schuyler Erle
cfb1b472a7
Calling map.destroy() twice previously an error in IE. Fixed.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@314 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 05:44:43 +00:00
Schuyler Erle
0417c9feb5
Fix test_Layer_Text.html, which was also broken by r301.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@313 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 04:34:27 +00:00
Schuyler Erle
3ebbf969f2
Fix test_Layer_WMS.html, which was broken by r301.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@312 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 04:31:57 +00:00
Schuyler Erle
b7e9c0596f
Fix test function names in test_Layer_Markers.html.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@311 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 04:23:48 +00:00
Schuyler Erle
b4f7d528d0
Always disable dragstart in IE on Events objects, so that mousedown/move/up works normally.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@310 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 03:43:34 +00:00
Schuyler Erle
b9ab087d32
Bug fix to Util.mouseLeft() for IE.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@309 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 03:25:17 +00:00
Schuyler Erle
7683e0853a
Fix to Control.MouseDefaults stops panning when dragging off the map. Closes #29 for good, I hope.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@308 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 03:20:22 +00:00
Schuyler Erle
0b7d1e6e1e
Bug fix and comments to Util.mouseLeft().
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@307 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 03:14:05 +00:00
Schuyler Erle
259c17106e
Implemented OpenLayers.Util.mouseLeft to make up for a lack of onmouseleave in Mozilla.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@306 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 03:01:50 +00:00
Schuyler Erle
e0bfdd2a97
Oops, moved HTML files but forgot to fix the reference to OpenLayers.js. Fixed.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@303 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 02:02:31 +00:00
Schuyler Erle
c90158a2d7
Moved all the HTML files into examples/.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@302 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 00:22:55 +00:00
Schuyler Erle
45fc70cbc7
If map.maxResolution is not set, set it to display the entire maxExtent in whatever the current map size is by default.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@301 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 22:41:28 +00:00
euzuro
92571569af
update map.addPopup() to automatically add the popup at the correct screen location... and add it to the layersContainerDiv so that it will move with the maps. and example. and tests.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@300 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 21:50:24 +00:00
euzuro
0821a4ef99
update tests for popup for r298
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@299 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 21:46:06 +00:00
euzuro
48d97061cb
give the popup a lonlat
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@298 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 21:45:19 +00:00
euzuro
163e0a8419
markers are no longer supposed to have associated data
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@297 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 19:08:00 +00:00
euzuro
c10fdec8e7
OpenLayers.Feature - JSDOC/coding standards
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@296 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 19:06:41 +00:00
euzuro
d6f1dedeb1
fix tests for r294
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@295 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 19:06:17 +00:00
euzuro
39e53685ce
give Feature an id
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@294 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 19:01:55 +00:00
crschmidt
16ac9ce885
Fix Marker tests.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@293 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 18:14:18 +00:00
euzuro
ad41a1df69
move xml helper functions into Util.js and adapt code to use them-- is this where we want to keep them? do we want to keep them? tests need to be written.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@292 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 17:35:16 +00:00
euzuro
123b460932
update demo pages to r278
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@291 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 17:32:31 +00:00
euzuro
e86628b17e
updating tests to changes made in r278
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@290 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 17:28:08 +00:00
euzuro
c506e039d8
typo. Openlayer->OpenLayers
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@289 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 17:14:14 +00:00
euzuro
25690c21e9
use other proxy for now
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@288 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 17:01:25 +00:00
crschmidt
8cb22b6b59
Change this to be /usr/bin/env, for more cross platformability. Hopefully.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@287 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 16:40:23 +00:00
crschmidt
69f06802ca
More better error handling
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@286 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 16:33:07 +00:00
crschmidt
29fc44105f
Remove line that was testing exception handling.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@285 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 16:27:17 +00:00
euzuro
80e048da92
dont need to position or append wfs tile
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@284 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 16:24:59 +00:00
euzuro
3f7665b0ae
cgi script directory name changed
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@283 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 16:13:09 +00:00