ahocevar
05de2b5109
Don't let button controls interfer with handlers.
...
This change involves removal of the map's eventsDiv and introduces an OpenLayers.Events.buttonclick component that adds a buttonclick event which makes sure that only events that are not related to clicking a button propagate. This allows button controls to be on the map's viewPortDiv again.
2012-01-20 03:37:11 +01:00
Bart van den Eijnden
e68acfe91a
fix up Layer.Bing tests, fix has been discussed with @ahocevar ( closes #163 )
2012-01-19 20:05:44 +01:00
fredj
a34dd40869
Fix APIdoc syntax
2012-01-18 14:25:42 +01:00
Frédéric Junod
1cbd88d230
Merge pull request #137 from fredj/simple-objects
...
Replace Size and Pixel instances with simple objects. r=elemoine,probins,tschaub
2012-01-18 04:12:02 -08:00
Éric Lemoine
37d21272b7
Merge pull request #127 from elemoine/tile-fade-in
...
CSS-based tile animation
2012-01-17 21:06:11 -08:00
tschaub
bfa6f06bf3
Removing dependency on SphericalMercator.
...
The default transforms (b/w EPSG:4326 & EPSG:900913) now come with any layer type.
2012-01-17 12:35:50 -07:00
tschaub
6134ad6d91
Removing redundant dependency.
...
Projection.js gets pulled in as a transitive dependency of all layers.
2012-01-17 12:34:40 -07:00
tschaub
00975e79cc
Merge branch 'master' of github.com:openlayers/openlayers into proj
2012-01-17 08:52:03 -07:00
Éric Lemoine
99ca32540d
Merge branch 'master' into tile-fade-in
...
Conflicts:
tests/Tile/Image.html
2012-01-17 09:27:55 +01:00
Éric Lemoine
8f57e34376
Merge branch 'master' into osm
...
Conflicts:
notes/2.12.md
2012-01-17 09:10:27 +01:00
Tim Schaub
32e870bebb
Remove SphericalMercator dependency from Bing.
2012-01-16 22:59:23 -07:00
Tim Schaub
4b949176d3
Move mercator transforms to Projection.js.
...
The SphericalMercator mixin is not required for coordinate transforms. Default transforms included whenever Projection.js is included.
2012-01-16 22:39:44 -07:00
Éric Lemoine
e160628086
make OSM.js @require SphericalMercator.js, to be consistent with Bing.js
2012-01-16 20:53:09 +01:00
Éric Lemoine
a9d919ab95
better docs for Layer.OSM
2012-01-14 21:13:01 +01:00
fredj
90452311f3
Remove tileSize.clone; not necessary to create a new size instance
2012-01-14 14:11:25 +01:00
fredj
c440a2916d
replace Size argument with simple object (maker.draw)
2012-01-14 14:11:25 +01:00
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
Éric Lemoine
2f700bd894
Merge branch 'master' into osm
...
Conflicts:
apidoc_config/Menu.txt
2012-01-12 21:27:39 +01:00
Éric Lemoine
3cbd7b4b40
move Layer.OSM in its own script file
2012-01-12 21:22:58 +01: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
Éric Lemoine
30c5b11d99
Merge branch 'master' into tile-fade-in
...
Conflicts:
examples/fullScreen.js
2012-01-05 09:39:39 +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
Éric Lemoine
39f2ddccee
remove back buffer immediately in applyBackBuffer if back buffer is schedule for removal
2012-01-04 08:20:11 +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
tschaub
f2168d13b7
Increase timeout to avoid flashes.
...
Without this change, flashes are fairly frequent while zooming around a full screen map.
2012-01-02 16:07:40 -07:00
Éric Lemoine
eb924c8f77
no longer rely on the transitionend event, unwanted flashes are avoid using a timer
2012-01-02 22:53:53 +01: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