Matthew Perry
8aaaecc9ee
Fix a problem determining zoom levels. Updated some docs.
2012-02-06 09:06:49 -08:00
Matthew Perry
6ff3b895c9
Some refactoring and cleaning up rounding errors in tile math. Added
...
debugging mechanism.
2012-02-05 11:17:02 -08:00
Matthew Perry
be4db93e9b
Preliminary working implementation.. still lots of slop to clean up
2012-02-05 09:33:32 -08:00
Matthew Perry
92cbac468c
Merge remote-tracking branch 'upstream/master' into utfgrid
2012-02-04 17:03:25 -08:00
Matthew Perry
a6df52ff83
Initial import of UTFGrid support. Needs work.
2012-02-04 12:22:27 -08:00
fredj
8558b6ee5c
Update OpenLayers.Layer.Grid.calculateGridLayout inputs type.
...
No need to clone the passed bounds (read only access).
'bounds' can be either a Bounds instance or a simple javascript
object. Same for 'origin': LonLat instance or a simple javascript
object.
2012-02-02 16:35:30 +01:00
Frédéric Junod
2d0714990d
Merge pull request #184 from fredj/get-url-async
...
Change getUrlAsync parameters. r=ahocevar
2012-02-02 05:59:13 -08:00
Frederic Junod
56d22ff9ad
coding standards: replace 'new Array()' with '[]'
2012-02-01 11:08:56 +01:00
fredj
40806dbe68
Pass the callback scope to getURLasync
2012-01-27 14:50:34 +01:00
fredj
fe202cef14
Change getUrlAsync parameters.
...
Instead of giving the function a bound, a scope, a property to update
and a callback, only give the bound and a callback.
When the url is retrieved by getUrlAsync, simply call the callback
with the url as argument and let the caller manage this.
2012-01-27 13:23:08 +01:00
fredj
f627071274
Remove unnecessary initialize functions (only calls the parent).
2012-01-26 15:14:10 +01:00
fredj
8062f70e1b
Pass unmodified arguments array to the parent class
2012-01-25 14:53:31 +01:00
fredj
586a39ca30
Layer.Zoomify: url already defined in Layer.HTTPRequest
2012-01-25 14:52:18 +01:00
Frederic Junod
b797614a17
Initialize variables in the code to keep the prototype clean.
2012-01-22 14:31:27 +01:00
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