euzuro
e251d93d6d
give marker back its data member
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@366 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 17:18:03 +00:00
euzuro
dda9d167af
add tests for createAlphaImageDiv function
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@365 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 17:12:51 +00:00
euzuro
497123ffac
adjust inner image id, do not bother with trying to directly set width and height on image element, it doesnt work anyways
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@364 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 17:10:11 +00:00
euzuro
af4028879f
fix to PanZoom controls to make them alpha-clear. This is it for #25
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@363 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 16:38:07 +00:00
euzuro
a844ccafe2
new function to create an alpha-transparency protected image -- burried in a div. This is for Ticket #25
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@362 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 16:13:23 +00:00
crschmidt
44454ba193
Implement radio button support in LayerSwitcher. Pass in {mode:'radio'} to constructor to switch away from checkbox mode, which is default. This allows us to complete the original part of #32 , although we do not yet support the concept of 'base layers' described in that ticket, which has been split to #62 .
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@361 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 15:29:53 +00:00
crschmidt
4c684565ef
MapViewerService now supports additional URL args:
...
* controls=panzoom,mouse -- set up different controls. Also allows 'layerswitcher'
* layers=openlayers,nasa -- set up different layers. Only these two are supported at the moment.
* center, zoom, data are all the same as before.
These changes are relevant to Ticket #12 .
git-svn-id: http://svn.openlayers.org/trunk/openlayers@360 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 12:57:07 +00:00
follower
2d440e36b0
Merged r[280]:[358] from source:/sandbox/follower/b-singlefile/ (Enable building of Single File Library version of OpenLayers library).
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@359 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 12:26:53 +00:00
euzuro
e665e10a53
coding standards.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@351 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 02:44:18 +00:00
euzuro
bf8c1fba02
give Popup an 'updatePosition()' function that allows it to re-position itself. This will be used for zoom changes.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@350 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 02:43:56 +00:00
euzuro
b036da46f5
Add AnchoredBubble.js, include it in dynamic load, add a bit of demo test.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@349 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 02:27:29 +00:00
euzuro
79295569a3
we should really be sure that this.lonlat is set too.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@348 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 02:24:48 +00:00
euzuro
53f59f25ea
changing the size of an anchored popup is a special case because the popup must remain anchored after the resize
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@347 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 02:22:06 +00:00
euzuro
df5455e41e
Since popups have a reference back to map, allow them to determine where they should be drawn internally. Thus we can remove the computing from the addPopup() function in Map.js.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@346 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 02:09:33 +00:00
euzuro
ec397fa9cf
change algorithms so that corners' changeOpacity function takes as input a float value between 1 and 0, instead of between 1 and 10. Might as well subscribe to *somebody's* standard and adapt to the other, rathere than something in between. plus, this is how Popup.js was designed.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@345 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 01:11:42 +00:00
euzuro
b8d47df9ec
small stylistic change to our own function inside rico corners. no change in functionality
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@344 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 01:08:26 +00:00
euzuro
022ffde95e
moved oppositeQuadrant() function from Anchored.js to Util.js, where it is now a static function on the OpenLayers.Bounds class. Updated usage in code accordingly. Added test.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@343 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 00:54:45 +00:00
euzuro
cfe9479a89
JSDOC - designate private functions as such
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@342 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 00:44:01 +00:00
euzuro
43e218c969
no reason to override Popup's destroy() if nothing new is being destroyed
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@341 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 00:39:44 +00:00
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