euzuro
|
55440ab092
|
clearGrid() gets called only once, no reason to put it so far away from where it gets called. tired of scrolling
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2907 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-03-27 22:30:42 +00:00 |
|
euzuro
|
77da7967ab
|
apply patch for #566 - bug in grid.destroy()
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2905 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-03-27 22:12:28 +00:00 |
|
euzuro
|
87977f7bfe
|
final patch for #510 -- new datastructure suggested and implemented by james for the events entry cache. speeds up all event operations
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2896 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-03-26 17:33:35 +00:00 |
|
euzuro
|
67963c3e86
|
good eye tim. patch for #560.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2882 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-03-25 14:49:31 +00:00 |
|
euzuro
|
cb9723d202
|
patch for #556 - give the map object its own unique ID
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2875 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-03-24 01:39:49 +00:00 |
|
euzuro
|
177215befc
|
applying (yet another) patch for #549. this one eliminates the double-destruction of the map due to the unload of window
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2874 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-03-24 01:37:28 +00:00 |
|
euzuro
|
d10b4a37df
|
applying (yet another) patch for #510
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2873 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-03-24 01:34:58 +00:00 |
|
euzuro
|
803e8b9dbd
|
fix for #457 - allow specification of whether or not to let events fallthrough the map
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2863 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-03-22 21:06:29 +00:00 |
|
euzuro
|
f66441779c
|
fix extra commas in test. all ie tests should pass now
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2862 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-03-22 20:46:12 +00:00 |
|
euzuro
|
3ed14463f2
|
second patch to fix #549. this time, instead of just clearing out everything in the div, it removes only what it added.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2858 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-03-22 19:47:48 +00:00 |
|
euzuro
|
897dd167ff
|
destroy map objects after using them. add extra test to make sure layer is removed from map on destroy
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2854 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-03-22 18:27:49 +00:00 |
|
euzuro
|
78c16b973e
|
final fix for #410
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2852 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-03-22 17:47:40 +00:00 |
|
euzuro
|
7425a06550
|
fix for #549 - clearing out of map div on map.destroy(). this fixes many opera tests
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2836 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-03-21 19:03:09 +00:00 |
|
euzuro
|
4bd131c882
|
readability
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2832 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-03-21 16:09:38 +00:00 |
|
euzuro
|
30dfa541a0
|
correct test report
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2831 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-03-21 16:08:08 +00:00 |
|
euzuro
|
d49f45dfcc
|
coding standards
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2830 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-03-21 16:00:43 +00:00 |
|
euzuro
|
149f933968
|
remove stray console.log statement. was breaking opera
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2829 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-03-21 15:56:45 +00:00 |
|
euzuro
|
dff92c7273
|
remove incorrect example. click.html does the same as this, and actually works in all browsers :-)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2778 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-03-14 22:44:53 +00:00 |
|
euzuro
|
9bbf96fd1d
|
patch for #509 -- fixes script error when tile is destroyed before it is used. thx cr5
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2286 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-02-26 04:02:58 +00:00 |
|
euzuro
|
795d6b4d20
|
fix for #500 - destroying a layer now has an option to not set a new baselayer. we use this in map.destroy()
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2233 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-02-16 20:59:18 +00:00 |
|
euzuro
|
3309b0b12e
|
fix for #480 -- addition of 'viewRequestID' variable to map to keep track of the changing view requests so that images dont load when they are no longer needed. muchas gracias to senior woodall for his help getting this patch together
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2231 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-02-16 20:24:56 +00:00 |
|
euzuro
|
8095e22600
|
patch for #499 - createImage used the wrong number of parameters
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2229 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-02-16 18:58:22 +00:00 |
|
euzuro
|
948406b5b5
|
patch for #486 -- more error prevention. thanks very much to bart for finding these :-)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2228 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-02-16 16:45:26 +00:00 |
|
euzuro
|
99eaf40e5c
|
patch for #485 -- prevents script error on destruction of layer due to null tile. test pass in ff & ie7
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2226 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-02-16 16:34:14 +00:00 |
|
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 |
|