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
Tim Schaub
0a5dae9ed0
Avoid left shift in resolution calculations
2013-02-18 18:37:27 -07:00
Tim Schaub
8b19751264
Making it explicit that this is a range of tiles
...
With tile range extending rectangle, a tile range that represented a single tile was not allowed.
2013-02-18 17:07:31 -07:00
Tim Schaub
0d6c54847b
Removing logic that assumes occasionally stretched tiles
...
When the dom renderer included logic to stretch tiles so that gaps were properly filled for fractional zoom levels, we needed to take this into account when getting a tile coordinate for a given coordinate and resolution. This was never the proper logic for a renderer that wasn't stretching occassional tiles (e.g. the WebGL renderer, the Canvas renderer, or the new DOM renderer).
2013-02-18 15:55:27 -07:00
Tim Schaub
e8c50c7290
Passing tests
2013-02-18 15:11:53 -07:00
Tim Schaub
6aa4e99fe5
Fix return from findLoadedTiles
...
Previously, the findInterimTiles method was returning undefined if the min x/y coord for a tile range was already in the lookup. The return says it indicates whether all tiles for the given z are loaded. This change corrects the return.
This change also reveals a misunderstanding of the tile range returned by `getTileRangeForExtentAndZ`. The previous findInterimTiles method was treating max values as inclusive. This is intuitive. It looks like the method returns a range where max values are exclusive.
2013-02-18 14:51:39 -07:00
Tim Schaub
ddf993f0c9
Factor out common code and test
...
The findInterimTiles method was used in three renderers. This change makes it available on the tile source and adds some basic tests.
2013-02-18 14:18:08 -07:00
Tom Payne
a455473a28
Merge pull request #200 from twpayne/proj4js-tests
...
Proj4js tests
2013-02-18 06:28:39 -08:00
Tom Payne
3a20eaed32
Merge pull request #198 from twpayne/ellipsoid
...
Add ellipsoid geometry functions
2013-02-18 06:27:36 -08:00
Tom Payne
7b42b62033
Add Proj4js integration tests
2013-02-18 14:44:44 +01:00
Tom Payne
cb9fbc3dec
Add Proj4js to test framework
2013-02-18 14:44:35 +01:00
Tom Payne
281f01889e
Merge pull request #196 from twpayne/sphere
...
Add spherical geometry functions
2013-02-18 03:35:44 -08:00
Tom Payne
36a3d02816
Add ellipsoid geometry functions
2013-02-18 12:32:43 +01:00
Éric Lemoine
be6c1a1a27
Test the image layer renderer's transform matrix
2013-02-17 22:47:19 +01:00
Tom Payne
544f399e04
Add spherical geometry functions
2013-02-15 18:07:19 +01:00
Éric Lemoine
e1505abe0d
Rename ol.Rectangle scale to scaleFromCenter
2013-02-15 17:43:27 +01:00
Éric Lemoine
aa9f820723
Add scale to ol.Rectangle
2013-02-14 23:36:36 +01:00
Éric Lemoine
35a6cac37f
Add containsExtent to ol.Extent
2013-02-14 23:36:36 +01:00
Bart van den Eijnden
234f6bc411
Merge pull request #180 from bartvde/wmscapsclean
...
add WMS GetCapabilities parser for WMS 1.1.0, 1.1.1, 1.1.1 WMS-C profile
2013-02-14 05:02:39 -08:00
Tom Payne
218bf2c78b
Improve LRUCache containsKey test, thanks @tschaub
2013-02-07 12:21:12 +01:00
Bart van den Eijnden
360c426f14
add WMS GetCapabilities parser for WMS 1.1.0, 1.1.1, 1.1.1 WMS-C profile and WMS 1.3.0
2013-02-06 14:25:57 +01:00
Tom Payne
0c205da290
Merge pull request #176 from twpayne/lru-cache
...
LRU Cache
2013-02-06 01:15:04 -08:00
Tim Schaub
0c48fbd188
Check sooner and only assert if duration hasn't passed
2013-02-05 10:50:18 -07:00
Tom Payne
c99ec2d834
Add ol.structs.LRUCache
2013-02-04 18:37:12 +01:00
Éric Lemoine
f735a597fe
Merge pull request #171 from elemoine/testdeps2
...
Use namespaces for tests
2013-01-31 02:02:33 -08:00
Éric Lemoine
bfb6d0ca87
Missing var's in a test file
2013-01-31 11:01:06 +01:00
Éric Lemoine
b6ed5f2164
Use namespaces for tests
...
With this commit test files provide namespaces (using goog.provide). This fixes the issue reported by @bartvde where goog objects cannot be used in Jasmine "describe" functions. It also frees us from having to add script tags for the test files in test/ol.html.
2013-01-31 10:18:21 +01:00
Tim Schaub
3ccfaebcfc
Punctuated
2013-01-23 22:18:00 -07:00
Tim Schaub
afb9add911
Checked with third-party tool
2013-01-23 22:12:17 -07:00