euzuro
|
b5fb410684
|
patch for #452 - Adding events to Layer class to signal the start, end, and cancelling of a layer load. Thanks to Bart for the idea and followthrough with this patch.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2200 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-02-04 16:13:15 +00:00 |
|
euzuro
|
1d47f8ce16
|
idea was to pass options to equiv test
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2139 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-01-12 10:14:53 +00:00 |
|
euzuro
|
ebb575cec3
|
tests pass in ff, ie6, ie7, and more or less in opera. this is a fix for #470
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2138 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-01-11 22:04:59 +00:00 |
|
euzuro
|
0dbf64d096
|
applying patch from #455 - fixes url equivalence testing for Opera browser
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2124 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-01-03 01:00:51 +00:00 |
|
euzuro
|
6df9e31441
|
fix opacity string/float issues in layer_wms tests
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2123 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-01-02 23:58:02 +00:00 |
|
euzuro
|
e25af34f36
|
fix popup test in opera -- color gets converted from string to hex
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2122 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-01-02 23:57:02 +00:00 |
|
euzuro
|
eb04014f8e
|
fixing some failing opera tests
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2121 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-01-02 23:27:10 +00:00 |
|
euzuro
|
4c4144b6a5
|
fixed eventpane test -- had to special case for opera. seems like mozilla is the only one the mouse events *doesnt* work for
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2120 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-01-02 23:00:44 +00:00 |
|
euzuro
|
7097d53c1b
|
updating marker test -- was failing in Opera
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2119 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-01-02 22:37:35 +00:00 |
|
euzuro
|
33f088675c
|
updating icon test - was failing in Opera
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2118 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-01-02 22:33:38 +00:00 |
|
euzuro
|
8ebc5b227a
|
adding example for changing the marker icon
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2103 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-12-27 21:11:35 +00:00 |
|
euzuro
|
6462a7dc29
|
sorry. last few bits of #441
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2095 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-12-22 19:33:57 +00:00 |
|
euzuro
|
112978ac3d
|
patch for #441 - resolving Rico namespace conflict
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2094 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-12-22 19:31:32 +00:00 |
|
euzuro
|
c014e5ea72
|
r2039 contained a small stylistic change that I thought was insignificant but upon further reflection is not. the '||' style is beautiful, but it breaks if a 0, '', or 'false' value is specified (as they all evaluate to false, and thus the default is taken). So if the user wants to specify a 0-width border, s/he cannot. This commit reverts to how it previously was, with the addition of {} as per OL coding standards. Also the addition of one small line break, also for coding standards
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2040 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-12-13 13:22:47 +00:00 |
|
euzuro
|
d5a7f1ef5c
|
updating jsdoc comments for accuracy
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2039 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-12-13 13:15:29 +00:00 |
|
euzuro
|
ba89ea595e
|
updating jsdoc for parameter type on one more ajax handler
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2030 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-12-11 00:20:26 +00:00 |
|
euzuro
|
cc3a4c113b
|
updating jsdoc for parameter type on ajax handlers
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2029 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-12-11 00:19:29 +00:00 |
|
euzuro
|
15c2ab578f
|
mousewheel zooms on mouse position. patch from #341. thanks frederic \!
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1945 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-11-21 09:32:13 +00:00 |
|
euzuro
|
36eb8c0bc9
|
change name of example to be consistent with openlayers datatypes (ours is not called latlon, it is lonlat)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1937 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-11-20 12:07:28 +00:00 |
|
euzuro
|
ac949589a0
|
applying patch for #399 - MultiServer - some small formatting/commenting changes.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1872 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-11-16 09:03:17 +00:00 |
|
euzuro
|
1f18b68e7d
|
ie and ff have some discrepancies in how they output formed html. in this case, ie was capitalizing everything and mixing the elements around. so we just compare straight on the dom. better this way anyways.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1783 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-11-08 19:01:48 +00:00 |
|
euzuro
|
17633136aa
|
same as previous commit, need to give map div dimensions for proper tests in IE
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1782 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-11-08 18:44:17 +00:00 |
|
euzuro
|
6e8754af91
|
fix test which breaks in ie because there are no size values to grab
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1781 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-11-08 18:40:45 +00:00 |
|
euzuro
|
8bd55016aa
|
applying patch from #387 - if map has changed size, destroy old tile, make a new one
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1779 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-11-08 16:42:56 +00:00 |
|
euzuro
|
02c285091e
|
no longer need to exclude yahoo layer from singlefile build
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1710 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-20 18:49:41 +00:00 |
|
euzuro
|
7eb3f4bb9a
|
allow specification of untiled tile ratio. patch for #355 from crschmidt
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1705 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-18 19:12:31 +00:00 |
|
euzuro
|
8b909e9e53
|
bringing down r1660 from sandbox/euzuro/layerclone
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1661 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-06 18:23:51 +00:00 |
|
euzuro
|
9b73a9a4c9
|
if there is no old base layer, dont try to get the zoom from it
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1655 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-06 16:17:10 +00:00 |
|
euzuro
|
5425ea861c
|
ie on win does not like 'grey'
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1654 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-06 16:14:38 +00:00 |
|
euzuro
|
6387b71d88
|
copy over newOptions, don't re-copy all of the old options
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1653 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-06 16:11:38 +00:00 |
|
euzuro
|
53d2fd3033
|
super seems to be a reserved word (at least in mozilla)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1652 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-06 16:03:35 +00:00 |
|
euzuro
|
5364ce73e5
|
break permalink into two controls: permalink and argparser. make the arg parser a default control that is added to the map. furthermore, make it such that on addition to the map, the permalink will hunt through the maps controls to make sure there is an argparser control loaded, and if not it will load one itself. now we add a new parameter to the permalink suite: 'layer'. the application will now save the layer visibility information. finally, update tests so nothing breaks.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1634 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-06 03:28:53 +00:00 |
|
euzuro
|
99ea5db027
|
only draw the layer when it needs to be drawn
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1625 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-06 02:16:40 +00:00 |
|
euzuro
|
dd2a5df781
|
allow permalink to store layer information. update tests so they pass
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1621 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-06 00:44:14 +00:00 |
|
euzuro
|
f5d644733b
|
once we have set the layer's resolutions array, we can set its inRange
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1620 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-06 00:13:53 +00:00 |
|
euzuro
|
5d4ba864dc
|
move addlayer event trigger to after the baselayer has been set
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1619 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-05 23:17:54 +00:00 |
|
euzuro
|
7ba704305a
|
make setVisibility() actually call display(). also add some comments on this rather funky situation.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1615 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-05 20:56:40 +00:00 |
|
euzuro
|
a0ed21125c
|
typo
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1610 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-05 20:21:48 +00:00 |
|
euzuro
|
46b0402b0b
|
oops. need to show/hide the layer when we change it.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1609 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-05 20:11:53 +00:00 |
|
euzuro
|
ad545a0280
|
only move the visible and in range layers. the rest can redraw themselves when they come back into the picture.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1608 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-05 20:07:42 +00:00 |
|
euzuro
|
6366edc515
|
reinsertion of r1572
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1607 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-05 20:01:09 +00:00 |
|
euzuro
|
2b7c6cc844
|
refactor range checking into map and store a state variable in layer so that we dont fire changelayer every time user zooms
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1606 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-05 19:32:07 +00:00 |
|
euzuro
|
8782ee3e15
|
no need to get this again.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1603 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-05 18:56:17 +00:00 |
|
euzuro
|
3a177683d5
|
rollback previous changeset. overriding inRange() not necessary
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1599 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-05 17:17:17 +00:00 |
|
euzuro
|
ab4f69ac48
|
special cased inRange() to return true if getResolution() returns null -- this way we get through and actually do load 3rd party layers.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1598 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-05 17:08:27 +00:00 |
|
euzuro
|
a1a1128ac7
|
for fixed zoom layers, be careful that if the 3rd party tool is not loaded, they wont be able to return a valid getExtent() and therefore neither a valid getResolution(). Make sure those return null without crashing.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1597 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-05 17:07:15 +00:00 |
|
euzuro
|
07ef71b7b0
|
Array.indexOf(), though implemented in FF, is not standard javascript. we replace it with OpenLayers.Util.indexOf(), replace all usage
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1596 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-05 16:28:24 +00:00 |
|
euzuro
|
efa9499d57
|
add outgoing layers information to permalink
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1589 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-05 15:09:56 +00:00 |
|
euzuro
|
33c37ef78b
|
fix for #191 - graceful dealing with setCenter() on lonlat out of maxexteng (on first setcenter() call). added test
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1585 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-05 06:20:47 +00:00 |
|
euzuro
|
fcc84782df
|
now the scrollbar works again. that pesky results div was sitting on top of it, is what the problem was.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1584 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-05 05:56:50 +00:00 |
|
euzuro
|
fe4ae239d5
|
numbering
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1583 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-05 05:51:15 +00:00 |
|
euzuro
|
3a611993ce
|
update example.html to showcase fixes for #182 and #262
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1582 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-05 05:06:57 +00:00 |
|
euzuro
|
1414f0f656
|
fix for #182 and #262 -- pick the best new resolution when changing baselayers, instead of just using the same index into the resolutions array.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1581 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-05 05:06:33 +00:00 |
|
euzuro
|
abde2fbc23
|
don't disable baselayers in the layerswitcher
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1580 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-05 05:02:06 +00:00 |
|
euzuro
|
5d724258e1
|
update example.html to show scale-dependent layer visibility. this pretty much finishes off #99
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1579 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-05 04:21:59 +00:00 |
|
euzuro
|
dc34753b50
|
oops. update test.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1578 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-05 04:21:10 +00:00 |
|
euzuro
|
510ab8561c
|
add a new property to layer.js called 'visibility' which we now need to store instead of reading directly from the visiblity of the div itself, since the div might be hidden, but only because it is out of range. we thus add a new method on layer called inRange() which returns whether or not the layer's max/min resolution settings allow it to be displayed at the current map's resolution. to make sure that min/max resolution, scale, etc are set for *all* layers, we remove the if statement limiting the running of initResolution() to only baselayers, and we add code at the end of that function that, once the resolutions array has been calculated, then goes back and sets min/max scale and resolution. now what we have to do is every time moveTo() is called on a layer, if the zoom has changed, then we must check if the layer is inRange() and update the display accordingly. on that same note, the layerswitcher must now be attentive to these changes, so we set it to redraw every time the zoom changes. in the layerswitcher code, we now add special code to disable a layer if it is out of range. must add the superclass call to moveTo() for all of the layers to ensure this code is executed for all. update test.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1577 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-05 04:20:16 +00:00 |
|
euzuro
|
1935953796
|
minor update to r1558 for coding standards, comments, etc
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1572 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-04 20:57:25 +00:00 |
|
euzuro
|
3ece418354
|
correct the class name
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1563 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-04 19:19:30 +00:00 |
|
euzuro
|
994230e580
|
simplify defaultIcon now that default Icon sets offset to center
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1554 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-03 20:52:29 +00:00 |
|
euzuro
|
91505ff5d6
|
make default behaviour for an icon with no specified offset or calcuateOffset() function be to have a standard calculateOffset() function setting the offset point at the center of the icon
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1553 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-03 20:51:39 +00:00 |
|
euzuro
|
526c8a6e1e
|
nullify these grids on exit so that we dont try to destroy them... which was raising errors when running tests on IE
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1552 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-03 19:52:19 +00:00 |
|
euzuro
|
25da469210
|
replace useage of OpenLayers.Util.setOpacity() with OpenLayers.Util.modifyDOMElement(). Rewrite the former to use the latter, and mark the former as deprecated.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1551 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-03 19:38:15 +00:00 |
|
euzuro
|
7fa0910fcf
|
update all opacity tests so they pass in IE
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1550 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-03 19:37:14 +00:00 |
|
euzuro
|
66250b1342
|
add opacity support to createDiv() and createImage(). update their tests. also small update to modify tests for more completeness. updated one single complete usage of createImage() due to argument reordering
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1549 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-03 19:07:24 +00:00 |
|
euzuro
|
7280a6211e
|
allow opacity to be set with OpenLayers.Util.modifyDOMElement(). added test.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1547 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-03 18:50:44 +00:00 |
|
euzuro
|
4f8c62df3f
|
revert previous commit. going to do this another way. apologies.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1546 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-03 18:45:12 +00:00 |
|
euzuro
|
3a3e412090
|
use already created OpenLayers.Util.setOpacity() function
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1545 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-03 18:44:02 +00:00 |
|
euzuro
|
10e7761a97
|
now we can specify opacity on createAlphaImageDiv(). added tests. updated usage.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1544 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-03 18:38:40 +00:00 |
|
euzuro
|
8fe89ba734
|
opacity is float, not string
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1543 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-03 18:30:56 +00:00 |
|
euzuro
|
3e4109781b
|
test for alpha hack, not just ie vs. mozilla
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1542 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-03 18:26:43 +00:00 |
|
euzuro
|
348b0b388d
|
allow for setting opacity of alpha image divs. also give both Icon and Marker setOpacity() functions. added tests and modified examples/markers.html to show how to do it.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1541 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-03 17:36:03 +00:00 |
|
euzuro
|
0adeb2670d
|
changing 'minor' parameter name to 'dragging' for consistency
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1538 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-03 04:35:04 +00:00 |
|
euzuro
|
cab24b665d
|
update map's getScale() to use getScaleFromResolution()
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1536 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-03 03:45:00 +00:00 |
|
euzuro
|
628409a993
|
change getScaleFromResolution() to return big scale value instead of normalized. update tests
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1535 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-03 03:44:37 +00:00 |
|
euzuro
|
a758efb2f2
|
added getScaleFromResolution() function to util, also added tests for both directions of the scale<->resolution tranformation functions, as well as the normalizeScale() function
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1534 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-03 03:21:45 +00:00 |
|
euzuro
|
07fc49ab31
|
add Bounds.intersectsBounds() function and tests
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1529 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-02 23:49:19 +00:00 |
|
euzuro
|
36a76054a4
|
allow layers to prevent themselves from displaying in the layer switcher via the 'displayInLayerSwitcher' boolean option. modify example.html to show usage
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1528 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-02 23:24:02 +00:00 |
|
euzuro
|
41f619b05e
|
fix for r1478, #190 - need to specify a sort method. thanks to http://www.javascriptkit.com/javatutors/arraysort3.shtml
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1527 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-02 22:00:13 +00:00 |
|
euzuro
|
890b2a6ffc
|
allow VE to specify map type. fix for #273. update ve.html example to show how
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1526 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-02 21:48:21 +00:00 |
|
euzuro
|
14a2418a62
|
remove old layer switcher. this fixes #200
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1525 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-10-02 21:22:43 +00:00 |
|
euzuro
|
0565566118
|
coding standards
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1512 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-09-28 06:48:27 +00:00 |
|
euzuro
|
cf7920ea11
|
fix off-by-one error in getZoomForResolution(). Created test to prevent this from happenning again.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1511 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-09-27 23:08:37 +00:00 |
|
euzuro
|
73fb43712f
|
add onScreen() function to OpenLayers.Feature, and add tests to prove it.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1510 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-09-27 21:56:17 +00:00 |
|
euzuro
|
1cedf957b0
|
add test for marker.onScreen()
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1509 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-09-27 21:26:32 +00:00 |
|
euzuro
|
b774b592cd
|
removing unnecessary line
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1508 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-09-27 21:03:59 +00:00 |
|
euzuro
|
3b60032995
|
use new functions from r1506.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1507 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-09-27 20:56:42 +00:00 |
|
euzuro
|
b5c6522c2b
|
add containsPixel() and containsLonLat() functions to OpenLayers.Bounds object. added tests
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1506 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-09-27 20:52:15 +00:00 |
|
euzuro
|
2255e7d56c
|
update comment
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1505 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-09-26 23:57:35 +00:00 |
|
euzuro
|
e658877014
|
return a copy of the mapsize, not the mapsize itself. this will hopefully prevent some nasty bugs.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1504 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-09-26 23:54:59 +00:00 |
|
euzuro
|
5804cc6cb3
|
small cleanup of basic OpenLayers.Feature functionality -- specifically adding full control for popup and marker creation and destruction and better comments for all that. all tests pass.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1503 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-09-26 21:46:10 +00:00 |
|
euzuro
|
6e2fd1bbf9
|
decompose the marker destruction code out so that it can be overridden in subclasses
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1497 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-09-20 11:24:54 +00:00 |
|
euzuro
|
492b144147
|
add code so that if initialize() is called on a marker that already has an icon created, it resets the icon's data but preserves its DOMElement div
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1496 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-09-20 11:24:16 +00:00 |
|
euzuro
|
5bd2c55610
|
reorder logic of test for isNaN so that if viewPortPx is null to start with we dont bomb out with error
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1495 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-09-20 09:51:21 +00:00 |
|
euzuro
|
c52e730378
|
protect px-lonlat translation from null values in default layer
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1494 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-09-20 09:44:53 +00:00 |
|
euzuro
|
34dfbef5a5
|
fix for dynamic resizing
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1487 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-09-19 17:08:43 +00:00 |
|
euzuro
|
b77dc94f32
|
add a fullscreen OL example
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1486 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-09-19 16:48:21 +00:00 |
|
euzuro
|
601a6c8376
|
was able to reproduce the wierd clicking bug jrf found. it was happening because the mouseup was not being properly handled by the toolbar buttons. this is taken care of.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1477 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-09-15 20:20:59 +00:00 |
|
euzuro
|
263ff16782
|
coding standards -- spacing
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1476 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-09-15 20:00:41 +00:00 |
|
euzuro
|
74dfbbc927
|
was there a specific reason why we were double-zooming in toolbar mode but single-zooming in normal mode?
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1475 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-09-15 19:25:22 +00:00 |
|