Éric Lemoine
03ae41a68c
Change View2D function names
...
Also make the TouchZoom interaction no longer use a private View2D function.
2013-03-05 09:59:31 +01:00
Éric Lemoine
faef495cfd
Debounce mousewheel zoom events
2013-03-05 09:59:31 +01:00
Éric Lemoine
4d486601f9
MouseWheelZoom interaction animates zoom
2013-03-05 09:59:31 +01:00
Éric Lemoine
3ba9a4afd4
View2D zoom may animate pan
2013-03-05 09:59:30 +01:00
Éric Lemoine
57a86353cd
zoomFactor defaults to 2
2013-03-05 09:59:30 +01:00
ahocevar
19aeb04141
Fixing extent check for undefined extents.
...
Thanks @marcjansen for spotting this. To make the epsg-4326
example work, I also had to change the WMS version to 1.1.1.
2013-03-05 09:47:52 +01:00
ahocevar
23c09abd3a
Calling getTileSize with z argument
...
Thanks for catching this @twpayne.
2013-03-05 01:47:28 +01:00
ahocevar
66b790294d
Merge branch 'master' of github.com:openlayers/ol3 into wms-improvements
...
Conflicts:
src/ol/source/tiledwmssource.js
test/spec/ol/tileurlfunction.test.js
2013-03-05 00:55:52 +01:00
ahocevar
586f393492
Support tile sources without configured projection
...
This change adds a lot of flexibility to working with tile
layers: Sources where the server projection or tile grid do not
matter can now be constructed without specifying a projection or
tile grid.
The tileUrlFunction/imageUrlFunction now also creates updated
URLs when the params of the layer change, so things like
mergeNewParams in ol2 will be possible.
A nice side effect of this whole change is that there is no more
duplicated code between tiled and single image WMS layers.
While I was at it, I also fixed a WMS 1.1.1 axis order issue
and incorrect STYLES params (STYLES=& instead of STYLES&).
2013-03-05 00:46:58 +01:00
Tom Payne
1bac674eca
Merge pull request #263 from twpayne/canvas-renderer-optimizations
...
Canvas renderer optimizations
2013-03-04 15:21:38 -08:00
Tom Payne
a937083d10
Don't redraw already rendered tiles
2013-03-04 21:07:17 +01:00
Tom Payne
fb668a7fc6
Add opaque flag to ol.source.TileSource
2013-03-04 21:07:17 +01:00
Tom Payne
08dbeed23f
Rename WebGL variables to match CSS shaders specification
...
See https://dvcs.w3.org/hg/FXTF/raw-file/tip/filters/index.htm
2013-03-04 19:45:43 +01:00
Frédéric Junod
ad17c2ba90
Merge pull request #250 from fredj/BingMapsStyle
...
Invalid ol.BingMapsStyle
2013-03-04 10:04:29 -08:00
Bruno Binet
874481cae5
Merge pull request #262 from bbinet/wmtsparser-resourceurl
...
Rework the structure of the WMTS resourceUrls property
2013-03-04 08:34:10 -08:00
Bruno Binet
4baf397f77
Rework the structure of the resourceUrls object
...
and remove duplicated resourceUrl object.
2013-03-04 17:14:16 +01:00
Frederic Junod
eec1aec0e6
Remove ol.BingMapsStyle
2013-03-04 15:14:22 +01:00
Tom Payne
06bb6e19f1
Merge pull request #215 from twpayne/scaleline-control
...
ScaleLine control
2013-03-04 01:27:33 -08:00
Tom Payne
c35d07d481
Rename minimumWidth to minWidth
2013-03-04 09:58:09 +01:00
Frédéric Junod
cad215e0cc
Merge pull request #230 from fredj/touch-navigation
...
Touch navigation issues
2013-03-04 00:42:59 -08:00
Bruno Binet
cedba8cd60
Merge pull request #258 from bbinet/tilegrid-tilesizes
...
Add support for multiple tileSizes in the tilegrid
2013-03-03 22:31:33 -08:00
Bruno Binet
07e0fc3a20
Fix tileSize in the canvastilelayerrenderer.
2013-03-04 07:30:33 +01:00
Tom Payne
fd1d2f6aeb
Merge pull request #259 from twpayne/more-in-place-transforms
...
Use more in-place transforms where possible
2013-03-03 15:47:58 -08:00
Tom Payne
b663fd69f1
Add scale line control options to map options
2013-03-04 00:43:37 +01:00
Tom Payne
8c2b01948b
Add ScaleLine control
2013-03-04 00:43:37 +01:00
Tom Payne
5c6821ce71
Use more in-place transforms where possible
2013-03-04 00:31:36 +01:00
Tom Payne
a8760108d4
Estimate point resolution for Proj4js projections
2013-03-04 00:25:42 +01:00
Tom Payne
343768df6a
Implement getPointResolution for EPSG:4326
2013-03-04 00:12:51 +01:00
Tom Payne
98d7391024
Implement getPointResolution for EPSG:3587
2013-03-04 00:12:51 +01:00
Tom Payne
d3e49d0a19
Add ol.Projection.getPointResolution
2013-03-04 00:12:51 +01:00
Tom Payne
e6f08df72c
Add the normal sphere
2013-03-04 00:12:51 +01:00
Tom Payne
684ea35673
Add sphere with radius equal to the semi-major axis of the WGS84 ellipsoid
2013-03-04 00:12:51 +01:00
Éric Lemoine
85db5273be
Merge pull request #257 from elemoine/verify-examples
...
Verify hosted examples at precommit time
2013-03-03 15:06:11 -08:00
Tim Schaub
303f2df9e1
Merge pull request #256 from tschaub/transform-arrays
...
Updating ol.TransformFunction instances so they work with arrays instead of coordinates.
2013-03-03 14:46:22 -08:00
Frédéric Junod
d783df0840
Merge pull request #223 from fredj/touch-click
...
Click handling broken
2013-03-03 12:43:01 -08:00
Tim Schaub
e9fa08fccb
Use in-place transforms where possible
2013-03-03 20:53:13 +01:00
Bruno Binet
2816e3256c
Add support for multiple tileSizes in the tilegrid.
...
This is needed by WMTS.
2013-03-03 20:43:46 +01:00
Bruno Binet
7c440d087f
Ensure we cannot set both origin and origins in the tilegrid
2013-03-03 20:43:46 +01:00
Bruno Binet
f7a895a823
Remove unused tileGrid.getTileSize() call.
2013-03-03 20:43:45 +01:00
Tim Schaub
40bde4056b
Accept a destination array for transforms
...
This allows in-place transforms.
2013-03-03 20:24:14 +01:00
Éric Lemoine
26cf882d68
Make createLayerRenderer always return a renderer
2013-03-03 19:46:09 +01:00
Tim Schaub
7a5e6a06d8
Make transform functions work with arrays
...
Instead of working with ol.Coordinate instances, transform functions work with arrays. This is in anticipation of using transform functions to transform large arrays of vertex coordinate values. The ol.projection.transform and ol.projection.transformWithCodes are slightly more convenient functions for dealing with ol.Coordinate instances. Whether we make this more consistent with the use of functions returned by ol.projection.getTransform is up for discussion.
2013-03-03 19:27:57 +01:00
Éric Lemoine
d0c0231d98
Add exports for the canvas export feature
2013-03-03 17:10:50 +01:00
Tom Payne
7126d63db5
Merge pull request #247 from twpayne/hyperbolic-functions
...
Add hyperbolic functions
2013-03-03 06:47:32 -08:00
Tom Payne
183df560ad
Merge pull request #245 from twpayne/projection-refactoring
...
Projection refactoring
2013-03-03 06:46:38 -08:00
Tom Payne
00ce5c6a78
Add hyperbolic functions
2013-03-03 14:47:25 +01:00
Frederic Junod
0a80feccfc
Allow touch event (touchstart) to fire click events
2013-03-03 14:45:12 +01:00
Frederic Junod
c72877b33b
Listen to both click and touchend events
2013-03-03 14:45:12 +01:00
Tom Payne
bf944e158a
Make Proj4js classes and functions private
2013-03-03 13:14:08 +01:00
Tom Payne
fcc620af7d
Separate ol.projection module from ol.Projection class
2013-03-03 13:09:13 +01:00