Tim Schaub
d3a4fd115b
Merge pull request #4083 from tschaub/missing-description
...
Add API descriptions.
2015-09-08 22:35:31 -06:00
Frederic Junod
529f869803
Remove unnecessary cast
...
Found by the latest version of closure-compiler (v20150729)
2015-09-07 09:15:34 +02:00
Tim Schaub
d036602cec
Missing ol.source.WMTS.optionsFromCapabilities description
2015-09-06 08:37:39 -06:00
Éric Lemoine
c4d4962806
Merge pull request #4041 from elemoine/custom-build-issue
...
Fix custom build issue
2015-09-03 18:41:19 +02:00
Frederic Junod
49b8f90e66
Add missing goog.provide
...
The new version of the closure-compiler (version 20150729) wants that all the classes
tagged with `@constructor` to be provided (with `goog.provide`).
2015-08-25 09:26:10 +02:00
Éric Lemoine
b3860a8fd5
Fix custom build issue
...
This fixes a custom build issue by adding a goog.require to imagestaticsource.js.
Fixes #4012 .
2015-08-24 16:41:44 +02:00
Marc Jansen
5029b5dc97
Merge pull request #3917 from cmiles74/cluster-source-refresh
...
Resolved issue with cluster source reloading
2015-08-19 17:34:54 +02:00
Johannes Weskamm
a6c49dabcf
Add a getUrls Method to ol.source.XYZ
...
Added the getUrls method to get access to the url / urls property.
When using a tileUrlFunction, getUrls should return null.
This should fix issue #3886
2015-08-19 12:43:35 +02:00
Frederic Junod
0578e8f2f6
Handle JSONP errors in ol.source.TileJSON
...
Fixes #3938
2015-08-10 15:28:26 +02:00
Andreas Hocevar
a1946a6e69
Revert "Cache the image extent"
...
This reverts commit eb2a30e461 .
2015-08-06 08:15:02 +02:00
rattai
eb2a30e461
Cache the image extent
2015-08-05 12:59:41 -04:00
rattai
b3f14f09c4
Compute new image extent for comparison to existing image extent
2015-08-04 17:25:47 -04:00
Frederic Junod
0a6745f1e4
Remove unused goog.require
...
Found by the latest version of closure-compiler (v20150729)
2015-08-04 10:01:11 +02:00
Tim Schaub
54d3bbd625
Merge pull request #3214 from tschaub/raster
...
Pixel manipulation with raster sources.
2015-08-03 21:49:19 -06:00
Tim Schaub
16aa548383
Only create a worker if an operation is provided
2015-08-03 21:32:16 -06:00
Tim Schaub
860fdabd76
Simplify raster sources by working with a single operation
2015-08-03 20:10:46 -06:00
Tim Schaub
4320b07c5d
Doc corrections
2015-08-01 16:33:43 -06:00
Andreas Hocevar
95e43c852d
Fix WMTS TileMatrixSet lookup by SRS identifier
2015-07-30 19:48:28 +02:00
Peter Robins
44fdfaa630
Expand description for XYZ source
2015-07-28 12:54:01 +00:00
cmiles74
89b62cd53b
Resolved issue with cluster source reloading
...
The cluster source was not reloading when a map was panned, only when
the resolution changed.
2015-07-22 09:18:41 -04:00
Tim Schaub
0c486c522a
Allow UI thread to be used
...
Where workers are not available, or if operations are trivial to run, the main UI thread can be used instead. This also adds tests that run in real browsers.
2015-07-21 17:12:08 -06:00
Tim Schaub
643c2e6f21
Only update canvas if not dirty
2015-07-21 17:12:07 -06:00
Tim Schaub
793b27e9f5
Allow operations to be updated
2015-07-21 17:12:07 -06:00
Tim Schaub
9d28549b2b
Pass along potentially modified data
2015-07-21 17:12:07 -06:00
Tim Schaub
ef90f5a097
Run operations in a worker
2015-07-21 17:12:07 -06:00
Tim Schaub
65fee5b7ac
Pass data object to operations
2015-07-21 17:12:07 -06:00
Tim Schaub
5267776627
Provide extent and resolution in raster events
2015-07-21 17:12:06 -06:00
Tim Schaub
a721ce03c9
Support for image or pixel operations
2015-07-21 17:12:06 -06:00
Tim Schaub
23e2fcefef
Only render if sources are ready
2015-07-21 17:12:06 -06:00
Tim Schaub
d17d470d48
Fire change when updating operations
2015-07-21 17:12:06 -06:00
Tim Schaub
c6dedbc40b
Use the first pixel for rendering, allow setting operations
2015-07-21 17:12:06 -06:00
Tim Schaub
de107c5502
Frame and canvas have equal size
2015-07-21 17:12:06 -06:00
Tim Schaub
2c82ca86f0
Fire events before and after running ops
2015-07-21 17:12:06 -06:00
Tim Schaub
acc97a53eb
Raster source for composing pixels from other sources
2015-07-21 17:12:05 -06:00
Andreas Hocevar
3595c2cce7
Document change events properly
...
With this change, the generic 'change' event is properly documented, as
all other events. It is no longer necessary to annotate `@fires change` for
every ol.Observable subclass.
2015-07-18 15:27:16 +02:00
Andreas Hocevar
8f7cbc5ed6
Clear features properly when there is no spatial index
...
Previously clear() only kept the features collection in sync whern there
was also a features RTree.
2015-07-15 15:15:41 +02:00
Bart van den Eijnden
a62bbd6650
Merge pull request #3859 from llambanna/patch-2
...
Add in crossOrigin option
2015-07-06 11:58:39 +02:00
Anna Lambrechtsen
1d3f8b5d7d
Add in crossOrigin option
2015-07-06 14:07:40 +12:00
Andreas Hocevar
da66a37182
Do not require projection extent for x-wrapping tile sources
2015-07-03 11:05:49 +02:00
Petr Sloup
eac5d652cf
Check projection.canWrapX() before wrapping tiles
...
Even if wrapX is true on the source
2015-07-02 15:21:34 +02:00
Stephan Bösch-Plepelits
ce20380078
ol.source.TileVector(): bind success function of tileLoadFunction to source
...
- fixes #3851
2015-06-29 21:01:08 +02:00
Björn Harrtell
ceafa88dc8
Enable use of custom XHR loader for TileVector sources
2015-06-23 14:07:19 +02:00
Bart van den Eijnden
9a0c0e2f2b
Make sure we don't generate any floating point DPI values for ol.source.TileArcGISRest
2015-06-22 12:01:14 +02:00
Petr Sloup
5993b45c63
Allow custom tileGrid in ol.source.XYZ
2015-06-19 19:58:06 +02:00
Andreas Hocevar
84e051d19b
Fix TileDebugSource to display '' for out-of-range tiles
2015-06-19 18:34:18 +02:00
Andreas Hocevar
af319c259b
Do not transform tile coordinates for tileUrlFunction
2015-06-19 18:34:09 +02:00
Andreas Hocevar
2bcb10c973
Respect the tile grid's extent
...
By adding a getTileCoordForTileUrlFuction method like for ol.source.Tile,
we can now properly handle extent and resolution restrictions, and reuse
tiles on wrapped worlds. Also adds the missing wrapX option to
ol.source.TileVector.
2015-06-15 11:15:25 +02:00
Andreas Hocevar
e848acd806
Merge pull request #3780 from ahocevar/call-tileurlfunction-with-transformed-tilecoord
...
Only expose transformed tile coordinates to the API
2015-06-12 11:18:16 +02:00
Andreas Hocevar
4b3aac32c3
Return transformed tile coordinates from ol.TileGrid's API methods
2015-06-12 09:47:32 +02:00
Andreas Hocevar
acab0ebd57
Display transformed tile coordinates in ol.source.TileDebug
2015-06-12 09:46:17 +02:00