fredj
3cc62c3fc8
replace Pixel argument with simple object (Map.getMapObjectPixelFromXY)
2012-01-14 14:11:24 +01:00
fredj
8ef0ad8c17
replace Pixel argument with simple object (Map.getLonLatFromViewPortPx)
2012-01-14 14:11:24 +01:00
fredj
1df5cfa158
replace LonLat argument with simple object (Map.getLayerPxFromLonLat)
2012-01-14 14:11:24 +01:00
Éric Lemoine
7a5b469192
Merge pull request #116 from elemoine/redraw
...
make Layer.redraw not unconditionally set zoomChanged to true when calling Layer.moveTo
2012-01-13 08:37:09 -08:00
Xavier Mamano
5cbdd27706
Docs: Set many links as {<...>}
2012-01-12 20:03:40 +01:00
fredj
cbfb68f397
Change all 'Parameter:' to 'Parameters:' in documentation. Non functional change
2012-01-12 09:32:49 +01:00
Xavier Mamano
f4a6d4c7b2
Set key as property in Bing.js and many links as {<...>}
2012-01-09 00:30:53 +01:00
Xavier Mamano
b7dee9ca6d
Some problems in the documentation detected using "closure_verify"
2012-01-07 19:29:41 +01:00
fredj
3245836b6d
New OpenLayers.Layer.Grid.tileClass option. Defaults to OpenLayers.Tile.Image
2012-01-04 12:37:39 +01:00
Éric Lemoine
0cc4dc81ec
Merge branch 'master' into redraw
2012-01-04 09:06:29 +01:00
Éric Lemoine
0ef4c8dd5b
make redraw return the return value of mergeNewParams
2012-01-04 08:47:28 +01:00
Tim Schaub
b26efd6beb
Merge pull request #126 from tomhughes/url-rewrite
...
Add an interception point to allow image URLs to be rewritten
2012-01-03 14:13:00 -08:00
tschaub
b844a3b11b
Happy New Year!
...
Updating copyright to 2012.
2012-01-03 09:01:10 -07:00
Tom Hughes
63fb2d4b04
Add an interception point to allow image URLs to be rewritten
...
Make all attempts to get a URL for an image go through a single
routine, OpenLayers.Util.getImageLocation, which is given the actual
image name.
This allows users to replace that routine with an enhanced version
which can rewrite the full URL, for example to go through the rails
asset pipeline when using OpenLayers with rails.
2011-12-31 12:19:10 +00:00
ahocevar
1ce59a207d
Don't use clientWidth and clientHeight.
...
Instead, use map.getSize to make sure this works the same way in all browsers.
2011-12-28 20:10:56 +01:00
ahocevar
22e9fc92b8
Don't change existing behavior for redraw(true)
2011-12-26 19:53:23 +01:00
ahocevar
d42eec9775
No new argument for Layer::redraw.
...
Instead, make _resolution a private property (resolution) which is set to null to make redraw call moveTo with zoomChanged set to true.
2011-12-26 11:09:07 +01:00
Éric Lemoine
ff04517232
HTTPRequest.mergeNewParams should now do redraw(true)
2011-12-22 14:21:07 +01:00
pjeweb
008e8c5ed1
adding ratio to Vector Layer
2011-12-21 12:37:09 +01:00
ahocevar
c48bf3a37f
One more keyword missing (see #111 )
2011-12-16 17:48:51 +01:00
fredj
ec16a9c0b1
Add missing new keyword in doc. thanks @DaveCausey ( closes #111 )
2011-12-16 17:14:44 +01:00
fredj
64b21b4e86
Remove unused variable
2011-12-12 10:42:33 +01:00
ahocevar
fa1845693b
Fixing a typo.
2011-12-07 16:38:07 +01:00
ahocevar
b6df3d871b
It turns out we really want to retile sometimes.
...
The reason is that we want to avoid moveGriddedTiles to run through hundreds of cycles to shift tiles until we reach the new bounds. But containsBounds does not work if extents that cross the date line start on different worlds, so we use intersectsBounds where we can pass the world bounds to handle this case.
2011-12-07 15:55:22 +01:00
ahocevar
f79520cf9d
Don't set zoomOffset - maxResolution and numZoomLevels is enough. r=fredj (closes http://trac.osgeo.org/openlayers/ticket/3550 )
2011-12-07 14:53:53 +01:00
fredj
8c74e616df
Remove undefined variables
2011-12-05 09:39:30 +01:00
ahocevar
08af94cf84
We never need to retile when the zoom didn't change.
2011-12-03 00:13:44 +01:00
ahocevar
84b30d3699
Don't rely on the bounds of the top-right tile.
...
When the grid crosses the dateline, the top-right tile is in a different world than the bottom-left one. Instead, use the grid size and tile width/height to calculate the top-right coordinate.
2011-12-03 00:05:26 +01:00
ahocevar
c15631ae3e
Remove code that never gets called.
...
OpenLayers.Map has no wrapDateLine property.
2011-12-02 23:57:39 +01:00
fredj
6f78dc4c8f
Remove call to deprecated events.addEventType function
2011-11-30 09:29:24 +01:00
Xavier Mamano
ec1a44a9f2
before instead of after
2011-11-29 18:29:47 +01:00
fredj
250e686375
Layer.KaMap cleanup
...
Remove unused units and resolution properties
Simplify Grid.initialize call
2011-11-24 16:21:49 +01:00
fredj
4cab9139f2
Remove unneeded requires
2011-11-24 08:59:55 +01:00
fredj
f0d93d1e85
Merge branch 'upstream-master' into deprecated.js
2011-11-18 13:51:19 +01:00
fredj
b630840d83
move Layer.GML into deprecated.js
2011-11-18 13:23:49 +01:00
ahocevar
4f58ff0352
Removing getBoundsFromBaseLayer method.
...
This method is only needed when the deprecated reproject option is set to true.
2011-11-18 13:06:28 +01:00
fredj
8d01fa6fd8
move Layer.Yahoo into deprecated.js
2011-11-18 12:13:41 +01:00
fredj
6836f4dcdf
Remove unneeded requires
2011-11-15 10:11:36 +01:00
fredj
1ed137bd0a
move Layer.Grid.getGridBounds function into deprecated.js
2011-11-15 09:06:44 +01:00
fredj
3d0d2cbc4e
move Layer.VirtualEarth function into deprecated.js
2011-11-14 15:52:39 +01:00
fredj
71f1f4701b
move Layer.MultiMap function into deprecated.js
2011-11-14 15:34:04 +01:00
Frederic Junod
2900823eb2
Move deprecated Layer.WFS and Tile.WFS into deprecated.js.
2011-11-14 15:28:57 +01:00
Tim Schaub
9605c08a11
Remove extra MapServer subclass.
2011-11-08 22:57:28 -07:00
Tim Schaub
7b6887c954
Remove extra WMS subclasses.
2011-11-08 22:45:13 -07:00
ahocevar
3752b0572d
use ResourceURL for WMTS layers for REST encoding. p=fredj,me r=elemoine,me (closes http://trac.osgeo.org/openlayers/ticket/3044 )
2011-11-07 16:56:10 +01:00
Éric Lemoine
db08102fe4
correct bug where the value stored for the top-left corner of the back buffer may be incorrect, thanks @ahocevar for catching the issue
2011-10-30 23:20:42 +01:00
Éric Lemoine
c0d210ef05
just skip tiles that are currently loading when creating the back buffer
2011-10-29 21:11:14 +02:00
Éric Lemoine
8df1ae0e09
comparing backBufferData.resolution and serverResolution to know if backbuffering should be applied is wrong
2011-10-29 21:10:23 +02:00
Éric Lemoine
c80746b890
Tile.Image.cloneMarkup renamed Tile.Image.createBackBuffer
2011-10-29 12:22:08 +02:00
Éric Lemoine
f3e0ac9425
remove double variable declarations, and make jslint happier
2011-10-28 23:00:13 +02:00