Commit Graph

29 Commits

Author SHA1 Message Date
crschmidt
dcd05d13ce Tag RC5.
git-svn-id: http://svn.openlayers.org/tags/openlayers/release-2.4-rc5@3182 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-05-25 12:49:27 +00:00
crschmidt
b5103eb8ce Pullup r2999:3087 for RC2.
svn merge trunk/openlayers/@2999 trunk/openlayers/@HEAD branches/openlayers/2.4/



git-svn-id: http://svn.openlayers.org/branches/openlayers/2.4@3088 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-04-20 01:10:43 +00:00
crschmidt
e61204a31e Remove extra math in ka-Map getURL calculation. This is historical cruft. Since
this change does not affect the input or output of the function it is changing,
no test is neccesary. Patch from tschaub in #481.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@2240 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-02-18 16:10:46 +00:00
crschmidt
786c2a20fb Change files to point to repository-license. Part of build process will now
be to change the licensing terms in the final build.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@1721 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-24 18:16:39 +00:00
Schuyler Erle
3be99e67e6 Convert all classes to use new-style class definitions. All tests pass.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1651 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-06 15:57:33 +00:00
Schuyler Erle
95ec8bdc82 Update Layer classes to use new Class.create/inherit functions.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1649 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-06 15:33:29 +00:00
Schuyler Erle
67ced536c0 Merged r1559:r1587 from source:/sandbox/crschmidt/noprototype. OpenLayers is now Prototype-free(tm).
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1588 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-05 14:50:47 +00:00
crschmidt
104e509eb9 Merge 2.0 branch to trunk.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1369 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-25 18:17:06 +00:00
crschmidt
c932a87d3f Fix missed change in KaMap. Tests now all pass.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1264 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-16 23:00:47 +00:00
crschmidt
e955fcc6da We now have a concept of scale with the map, so we no longer need to depend on this being specific to KaMap.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1263 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-16 22:56:47 +00:00
crschmidt
d828dd8f81 Enable Spiral Tile Loading In KaMap.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1237 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-16 15:34:59 +00:00
euzuro
c1b8c8dd60 change the '@require:' to '@requires' so as to be compatible with JSDOC standards. put these directly inside the class definition comment block. update script to suggest this and update all source files to follow pattern. Caught a missing @requires in the EventPane.js file
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1206 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-14 23:05:05 +00:00
crschmidt
e3df606001 Quote indexes into array.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1161 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-09 15:52:23 +00:00
crschmidt
7a3f9b8444 KaMap uses a different initTiles because it doesn't use the same starting
point for '0,0'. This meant that with the new initTiles change, we were
not adding enough buffer tiles around the kamap layers, so they would
display funkily. This fixes that issue.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@1156 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-09 13:38:59 +00:00
euzuro
f3d6fb8718 add JSDOC commenting and stub moveTo function in WFS tile
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1147 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-09 05:42:42 +00:00
crschmidt
0ba7961df4 Commit tile-reuse branch back to trunk. This branch offers numerous performance
improvements in the form of reduced memory use and lower element creating costs,
hopefully making the OpenLayers code more usable in internet explorer as well
as less of a memory hog in Firefox and other browsers. Additionally, a buffer
is available around the main map grid which allows tiles to be loaded outside
of the viewing area for faster dragging.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@1137 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-09 03:47:33 +00:00
euzuro
51ac2b4acf remove useless or duplicate functions from Util.js -- no more: Array prepend() append() -- use push() and unshift(). clear() and indexOf() both removed as they are duplicated in Prototype.js -- all instances replaced and tests updated.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1136 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-09 03:31:06 +00:00
euzuro
f3a072b151 new layerswitcher, improved google layer, boxes layer, grid fix
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1096 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-08 18:20:24 +00:00
crschmidt
c958f9f88a KaMap needs to reimplement initTiles because it uses 0-based indexing instead of lower-left corner indexing, which means that we need to have the tile.draw method also modified here to use this.alpha, and also add the options hash as a param. We should probably move resolution/units into the options param too?
git-svn-id: http://svn.openlayers.org/trunk/openlayers@842 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-30 15:49:48 +00:00
crschmidt
d2d3eb075f We round these values to four decimale places: This saves us on rounding errors on the client-side, which could theoretically increase our cache size when we hit them, and in the case of the left/top values, this also makes sure that we get the closest pixel value, not the integer of it -- this is important when we get around to requesting the tiles, since otherwise we end up a pixel off, and then we don't get our images back.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@821 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-28 12:38:05 +00:00
crschmidt
162d05cb25 Convert KaMap and WorldWind to be isBaseLayers, and change FullExtent to MaxExtent.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@813 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-27 23:51:01 +00:00
crschmidt
c20390c864 KaMap can't round. It works fine for degrees, but when you're working in inches, feet, meters, the rounding errors become quite significant.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@802 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-27 20:17:37 +00:00
crschmidt
05025e97d0 Round the scale value. KaMap rounds internally, so adding extra precision here only breaks client-side caching.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@766 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-26 14:29:37 +00:00
crschmidt
a3e5944e4e KaMap layer now sublasses initTiles, to implement the kamap 0-based tiling scheme instead of the OpenLayers/WW -180,-90 method. This means that there are no longer any restrictions on using ka-Map with other layers! woohoo! You can use ka-map on top of WorldWind, or with another ka-map layer, even if it has differently sized tiles. yay!
git-svn-id: http://svn.openlayers.org/trunk/openlayers@764 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-26 13:54:14 +00:00
crschmidt
1912d4355c OpenLayers.Layer.KaMap is now working much better. The TIGER example which was just a hack before is now working properly, and there's an actual scale calculation being performed based on params passed into the constructor of 'units' and 'resolution', both of which are determined by the mapfile. The only limitation yet to be tackled is that maxResolution on the map must split the map up such that 0,0 is a tile corner. This requires subclassing more (or perhaps all) of the Layer.Grid functions, so I'm off to do that now.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@763 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-26 13:15:20 +00:00
crschmidt
d370a3c5f9 Safari: also known as Lint for Javascript!
git-svn-id: http://svn.openlayers.org/trunk/openlayers@671 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-22 12:40:11 +00:00
crschmidt
2a1ad38ce2 Bad Syntax. Was breaking Safari.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@670 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-22 12:39:29 +00:00
crschmidt
8600f7d688 More work on KaMap layer. This TIGER demo looks good, but it's really broken underneath.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@666 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-22 10:47:43 +00:00
crschmidt
98ed96e4ec OpenLayers.Layer.KaMap, for displaying KaMap-tiles in OpenLayers. Currently specific to the example -- needs work on determining 'scale' from resolution. possibly just simple math. I'm not sure yet.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@665 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-21 21:49:31 +00:00