Éric Lemoine
1776d80cb9
Add a snapToZero rotation constraint
2013-03-05 10:08:00 +01:00
Éric Lemoine
faef495cfd
Debounce mousewheel zoom events
2013-03-05 09:59:31 +01:00
Éric Lemoine
57a86353cd
zoomFactor defaults to 2
2013-03-05 09:59:30 +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
f6fe7bd36c
Make spec indentation pass strict mode
2013-03-04 20:47:20 +01:00
Tom Payne
2741daa977
Merge pull request #265 from twpayne/check-requires-in-specs
...
Check requires in specs
2013-03-04 11:31:37 -08:00
Tom Payne
df5f74b3c0
Add missing requires to specs
2013-03-04 20:02:55 +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
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
80509a6a62
Fix tests relative to the WMTS resourceUrl(s) object
2013-03-04 17:16:49 +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
Tom Payne
a8760108d4
Estimate point resolution for Proj4js projections
2013-03-04 00:25:42 +01:00
Tom Payne
98d7391024
Implement getPointResolution for EPSG:3587
2013-03-04 00:12:51 +01:00
Bruno Binet
93131d6105
Add some tests for the multiple tileSizes in tilegrid.
2013-03-03 20:43:47 +01:00
Bruno Binet
bf325c38b4
Fix tests related to createBboxParam.
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
Tim Schaub
40bde4056b
Accept a destination array for transforms
...
This allows in-place transforms.
2013-03-03 20:24:14 +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
Tim Schaub
0df692e159
Lint in the tests
2013-03-03 17:58:03 +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
1c5e29f5a7
Merge pull request #246 from twpayne/xyztilegrid-tests
...
Add ol.tilegrid.XYZ tests
2013-03-03 06:47:16 -08:00
Tom Payne
a94418edab
Add ol.tilegrid.XYZ tests
2013-03-03 14:48:37 +01:00
Tom Payne
00ce5c6a78
Add hyperbolic functions
2013-03-03 14:47:25 +01:00
Tom Payne
fcc620af7d
Separate ol.projection module from ol.Projection class
2013-03-03 13:09:13 +01:00
Tom Payne
66e5b1d736
Cope with axis orientation for tiled WMS sources
2013-03-03 12:22:24 +01:00
Frederic Junod
c0aa50abfc
Split TouchRotateAndZoom interaction.
...
Split TouchRotateAndZoom interaction into two new interaction:
TouchRotate and TouchZoom.
2013-02-26 08:58:47 +01:00
Tim Schaub
52da64564c
Tests for getting transforms
...
These are regression tests for #231 .
2013-02-25 11:40:55 -07:00
Tim Schaub
ca85c26537
Method for removing cached transforms
2013-02-25 11:28:14 -07:00
Tim Schaub
940ba8afa7
Stray debugger
2013-02-25 11:26:04 -07:00
Tim Schaub
72ba8c4cbd
Smoke test for ol.Projection.getTransformFromCodes
2013-02-25 10:36:21 -07:00
Tim Schaub
86262bf17e
Space for linter
2013-02-25 10:36:21 -07:00
Frédéric Junod
60f0bdb113
Merge pull request #168 from fredj/touch-events
...
Touch events support
2013-02-21 03:29:51 -08:00
Tim Schaub
a59aa9bb37
Merge pull request #217 from tschaub/safer-object
...
Allow ol.Object to be used with arbitrary keys. Add a getKeys method.
2013-02-20 07:56:07 -08:00
Tim Schaub
689f8c9d9d
Merge pull request #206 from tschaub/interim-tiles
...
Share common code to find loaded tiles
2013-02-20 00:52:49 -08:00
Bart van den Eijnden
efefb2554a
Merge pull request #204 from bartvde/wmscapsfixes
...
fixes for the WMS capabilities parser (r=@elemoine)
2013-02-20 00:48:30 -08:00
Frederic Junod
735e534095
Add ol.interaction.TouchRotateAndZoom
2013-02-20 09:33:04 +01:00
Frederic Junod
d9a1c18300
Add ol.interaction.TouchPan
2013-02-20 09:32:34 +01:00
Tim Schaub
2919906ba6
Add method for getting keys
2013-02-19 14:47:49 -07:00
Tim Schaub
d6ff58305d
Using a dedicated object for value storage
...
Without this, we are limited in the key names that we can accept from users. And because of compiler renaming, we don't know ahead of time what the limitations are (e.g. the key 'a' may clobber the 'set' method).
2013-02-19 14:35:11 -07:00
Tim Schaub
eef683fcdb
Indentation for linter
2013-02-19 13:58:43 -07:00
Tim Schaub
80dc7b5bf7
Accept custom isLoaded method in findLoadedTiles method
2013-02-19 12:13:58 -07:00
Tim Schaub
1b984ac06c
Fewer tiles to be considered fully loaded
...
With 797dba2cdb we no longer have to load excess tiles to consider an extent fully loaded.
2013-02-19 09:54:41 -07:00
Bart van den Eijnden
793a956211
Several fixes to the WMS Capabilities parser
...
Make sure the object structure returned is not mangled by Closure
Do not use closure XHR or JSON in the example
Use Jasmine's async support in the test cases
Get rid of some backwards compatibility now that we have a fresh start
2013-02-19 17:12:02 +01:00
Tim Schaub
b061e23606
Merge branch 'master' of github.com:openlayers/ol3 into interim-tiles
2013-02-19 08:59:23 -07:00
Bart van den Eijnden
a2bcf51272
Merge pull request #213 from bartvde/wmtsclean
...
Implement WMTS GetCapabilities parser.
2013-02-19 07:45:08 -08:00
Tim Schaub
1f4b34cdb8
Merge pull request #207 from tschaub/tilerange
...
Make tile range calculation consistent. Tile ranges are always inclusive in their min/max values.
2013-02-19 07:43:27 -08:00
Bart van den Eijnden
5e29830462
Add WMTS GetCapabilities parser
...
Implements WMTS GetCapabilities parser, which depends partly on
an OWSCommon parser.
Integration with the layer source will be done at a later stage.
2013-02-19 16:32:56 +01:00
Tim Schaub
797dba2cdb
Correct range for extent and resolution
...
Tile ranges are inclusive. When getting the tile range for an extent, the top-right corner of the extent should be considered with a different intersection policy than the bottom-left corner.
2013-02-19 07:21:42 -07:00