Éric Lemoine
a57738e817
Merge branch '2.12'
2012-04-20 15:29:46 +02:00
Éric Lemoine
f36fd5f0d1
Merge pull request #393 from elemoine/393
...
grid layers may be misplaced
2012-04-20 06:27:27 -07:00
ahocevar
9ab6d08fb0
Calculate zoom level from serverResolutions.
...
The previous way of hard-coding an offset of 1 causes an incorrect attribution for layers with a custom maxResolution.
2012-04-20 15:08:45 +02:00
ahocevar
551f509b49
Make sure tiles are loaded for Bing overlays.
...
Previously, Bing overlays that were added to an existing map had empty tiles, because tiles are added before the layer url is set in initLayer. This change makes sure tiles are only rendered when the layer url is available, by not processing the tile queue before the layer url is set.
2012-04-19 16:02:23 +02:00
Bart van den Eijnden
59cc18d85b
fix Bing attribution issue reported by PitneyBowes
2012-04-10 14:31:20 +02:00
Éric Lemoine
ae75fdacd7
Revert "Merge pull request #116 from elemoine/redraw"
...
This reverts commit 7a5b469192 , reversing
changes made to a719de7e93 .
Conflicts:
tests/Tile/Image.html
2012-04-07 21:07:03 +02:00
Éric Lemoine
4df1104b7a
Revert "Merge pull request #312 from elemoine/redraw"
...
This reverts commit 7f94945244 , reversing
changes made to dfa70fafac .
Conflicts:
lib/OpenLayers/Layer/Vector.js
2012-04-07 21:01:52 +02:00
Éric Lemoine
f870417a30
class name olLayerGridTile renamed olLayerGrid
2012-04-03 06:28:06 +02:00
Éric Lemoine
d650ba20d9
Layer.Grid - better docs for transitionEffect, removeBackBufferDelay, and className
2012-04-02 20:59:16 +02:00
Éric Lemoine
d8473f9249
make Layer.Grid.prototype.className an API property
2012-04-02 17:57:37 +02:00
Éric Lemoine
8c6466bf2a
move transitionEffect to Layer.Grid.prototype, and discourage the use of transitionEffect:"resize" on non-opaque layers
2012-03-31 21:32:49 +02:00
Éric Lemoine
1e5f83593c
removeBackBufferDelay defaults to 0 for singleTile layers
2012-03-31 21:23:21 +02:00
Éric Lemoine
86cd9c7bf7
add class to Layer.Grid layer div
2012-03-31 21:22:36 +02:00
Éric Lemoine
e0b93c2e45
The OpenLayers code is published under the 2-clause BSD license
2012-03-30 08:33:55 +02:00
Éric Lemoine
650df2a8f1
change copyright header in every OpenLayers js file
2012-03-29 22:14:56 +02:00
ahocevar
5e9104a2a2
Revert "Merge pull request #304 from mpriour/singleTile"
...
This reverts commit 84fb15e1d2 , reversing
changes made to d0d116efdf .
2012-03-21 10:05:22 +01:00
ahocevar
90c9b525ed
Nullifying more properties - previous change did not fix the issue.
2012-03-20 10:13:14 +01:00
ahocevar
d31a8da839
Clone needs a fresh backBuffer and tileQueue.
2012-03-19 21:09:43 +01:00
Éric Lemoine
acd11005b6
Merge pull request #333 from elemoine/patch-1
...
Tiles@Home has been discontinued so it should be removed from the doc as well
2012-03-19 09:21:58 -07:00
Frédéric Junod
c6374606bc
Merge pull request #327 from fredj/jshint
...
jshint. r=tschaub
2012-03-19 03:07:09 -07:00
Mark Prins
87540d4ef1
Tiles@Home has been discontinued so it should be removed from the example as well. My choice for OpenCycleMap is arbitrary, but since it is currently up on the main OSM slippy map, imo a valid choice.
...
See also: #330
2012-03-19 10:52:16 +01:00
Bart van den Eijnden
c1944eb6da
backBuffer style left and top need to be rounded
2012-03-19 10:15:13 +01:00
Frederic Junod
5557693df1
Confusing use of '!'.
2012-03-19 09:13:01 +01:00
Frederic Junod
2de2fe2563
Unnecessary and missing semicolon.
2012-03-19 09:13:01 +01:00
ahocevar
99f116ee98
With tileQueue, we need a different way of handling loadstart/loadend.
2012-03-17 16:10:10 +01:00
ahocevar
193983b2b0
tileQueue has nothing to do with numLoadingTiles.
...
The tileQueue might have entries again after zooming when the previous zoom level hasn't finished loading yet. Removing the check for the tileQueue's length makes layers report loadend correctly again.
2012-03-15 17:44:30 +01:00
Frederic Junod
61f01f20e0
Remove Renderer.NG related code
2012-03-14 09:17:42 +01:00
fredj
23380e5d4a
Move NG renderer to deprecated.js
2012-03-14 09:17:42 +01:00
Éric Lemoine
7f94945244
Merge pull request #312 from elemoine/redraw
...
Vector.Redraw should set zoomChanged to true in moveTo
2012-03-10 00:55:31 -08:00
ahocevar
e52c97f741
Don't check based on layer.maxExtent.
...
layer.maxExtent is always set as soon as the layer is added to a map. Instead, making behavior consistent with tiled layers: don't display outside maxExtent except when displayOutsideMaxExtent is set to true or the layer's extent equals the world bounds for maps with a baseLayer that has wrapDateLine set to true.
2012-03-09 23:50:09 +01:00
Éric Lemoine
c693884f5f
redraw on vector layers should set zoomChanged to true in the moveTo call (refs #305 )
2012-03-09 23:40:34 +01:00
Matt Priour
0ff2f9a457
Simplify maxExtent restriction logic and prevent unneeded calls to `getLayerPxFromLonLat`
2012-03-09 14:26:48 -06:00
Matt Priour
f6c8b81f3a
Merge branch 'master' into singleTile
2012-03-09 14:04:21 -06:00
Tim Schaub
1a444589e0
Merge pull request #274 from tschaub/utfgrid
...
UTFGrid Tile, Layer, and Control. This adds support for responsive handling of interactions with large numbers of features represented by UTFGrids.
2012-03-09 08:49:30 -08:00
Tim Schaub
021ad521a8
Tests for the getTileData method.
...
Tests pass on Chrome 17, Firefox 10, IE 8, and IE 6.
2012-03-08 19:18:32 -06:00
Matt Priour
3e50817623
Correct else code style error
2012-03-08 16:54:50 -06:00
Matt Priour
9d0dd67843
Add tests for initSingleTile function, which is where all the important singleTile logic is
2012-03-08 16:26:46 -06:00
Matt Priour
9fbadfa79f
Modify initSingleTile to respect map or layer maxExtent when set and layer is not the map's baseLayer
2012-03-08 00:31:05 -06:00
Tim Schaub
46054b8543
Correctly getting tile data for a location.
...
The UTFGrid layer's `getTileInfo` method was not correctly handling dateline wrapping (and was a bit more complicated than it needed to be). Since it would be useful to all grid layers to be able to retrieve a tile and pixel offset for any map location, this functionality deserves to be on the Grid layer.
The WMTS layer currently exposes a `getTileInfo` method that is used within the layer and by the WMTSGetFeatureInfo control. This method could be renamed to `getRemoteTileInfo` or something to differentiate it from a method that gets locally cached tile info. Until that change is made, the method on the Grid layer will be called `getGridData`.
2012-03-06 16:06:15 -07:00
ahocevar
a05eab29db
Adding tileloadstart event to layer.
...
For this to be useful (i.e. so listeners can see/modify the tile url), a change in Tile.Image is required so we do not fire the loadstart event before we have the url to load.
2012-03-06 14:40:08 +01:00
Éric Lemoine
3b860ca4d7
Merge pull request #168 from jorix/Docs-issues3
...
Some problems in the documentation
2012-03-06 00:05:52 -08:00
Tim Schaub
cf30e71b9f
Merge branch 'master' of github.com:openlayers/openlayers into utfgrid
2012-03-06 00:06:15 -07:00
Tim Schaub
28687257d6
Use existing methods on XYZ layer.
2012-03-05 23:07:28 -07:00
ahocevar
fe63d0aa63
New events: loaderror for Tile, tileerror for Layer.Grid.
2012-03-05 14:20:01 +01:00
Xavier Mamano
bfb379f349
Fix some problems in the documentation.
2012-03-05 11:43:09 +01:00
Tim Schaub
dc4df928ed
Doc cleanup for UTFGrid layer.
2012-03-03 17:28:55 -07:00
Tim Schaub
36d22bbb15
Single argument constructor for UTFGrid layer.
2012-03-03 16:07:50 -07:00
Éric Lemoine
9a116b21b9
Revert "protect for in loops with hasOwnProperty"
...
This reverts commit e3cc96dbfb .
2012-03-03 22:35:39 +01:00
Pierre GIRAUD
45daaf5dd2
Use the 3 available sub-domains for OSM by default
2012-03-01 11:54:07 +01:00
Bart van den Eijnden
e3cc96dbfb
protect for in loops with hasOwnProperty
2012-02-29 18:43:55 +01:00