Commit Graph

968 Commits

Author SHA1 Message Date
Tim Schaub 83c59ee255 Inline goog.isDef() calls for properties 2015-09-27 10:40:20 -06:00
Tim Schaub 36e336f406 Inline !goog.isDef() calls for properties 2015-09-27 10:37:20 -06:00
Tim Schaub e3951fa3c6 Inline simple goog.isDef() calls 2015-09-27 10:34:44 -06:00
Tim Schaub a86c270f6a Inline simple !goog.isDef() calls 2015-09-27 10:31:16 -06:00
Tim Schaub 3a0683f373 Inline !goog.isDef() property checks 2015-09-27 10:24:38 -06:00
Tim Schaub b36d697585 Inline goog.isDef() property checks 2015-09-27 10:21:50 -06:00
Tim Schaub 7659e47e07 Inline simple goog.isDef() checks 2015-09-27 10:18:44 -06:00
Tim Schaub cf5eadebaa Define options 2015-09-27 10:11:30 -06:00
Frederic Junod 0d23ab44b3 Remove use of goog.array.isEmpty 2015-09-22 11:25:04 +02:00
Tim Schaub 085c2d7e33 Merge pull request #4094 from tschaub/set-attributions
Allow source.setAttributions() to be exported.
2015-09-09 09:12:08 -06:00
Tim Schaub d3a4fd115b Merge pull request #4083 from tschaub/missing-description
Add API descriptions.
2015-09-08 22:35:31 -06:00
Tim Schaub 0fec4c5ff7 Allow source.setAttributions() to be exported 2015-09-08 21:41:57 -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