Attila Berényi
4c82b3403c
Use XHR by default
2016-05-13 12:08:58 -06:00
Peter Robins
c7aeebed8c
Rename sub-sub-namespace typedefs to sub-namespace
...
These sub-sub-namespace typedefs are only used internally; some of them cause problems by creating a form of circular dependency. For example, ol.style.Atlas is created in style/atlasmanager.js; if ol.style.Atlas.Block is in a separate file, ol.style.Atlas is dependent on it, so the new file must precede ol.style.Atlas. However if it precedes it then it has to create the ol.style.Atlas namespace which should be created by atlasmanager.js. To get round this, these typedefs are renamed to remove the sub-sub-namespace.
Fortunately they are all non-api, so the rename should not affect anything.
2016-05-11 19:46:56 +00:00
Peter Robins
4f0b4dacbd
Move sub-namespace typedefs to typedefs.js
...
Here too there is one problem case.
2016-05-11 19:45:59 +00:00
Peter Robins
535e8f5e35
Move top-level typedefs to typedefs.js
...
With one exception, those directly in the `ol` namespace can be moved without problem.
Some left-over goog.requires are also removed.
2016-05-11 17:18:05 +00:00
Andreas Hocevar
8c8c4c3df4
Merge pull request #5324 from probins/rmrequires
...
Remove unneeded goog.provides/requires for typedefs
2016-05-10 16:31:42 +02:00
Peter Robins
2a44669e18
Add some goog.requires to keep compiler happy
2016-05-09 16:00:07 +00:00
Andreas Hocevar
5c76cb01af
Use a snapshot of the frameState extent
2016-05-09 15:23:00 +02:00
Peter Robins
f57065c412
Remove unneeded goog.provides/requires for typedefs
...
In general, typedefs do not need and should not have goog.require/provide
2016-05-09 13:21:25 +00:00
Andreas Hocevar
88d20a69ad
Merge pull request #5177 from ahocevar/vector-tile-hybrid-rendering
...
Add render options for vector tile layers
2016-04-28 09:04:45 +02:00
Frederic Junod
63ebed437b
Don't use the string constructor
2016-04-27 12:22:43 +02:00
Anna Lambrechtsen
18a29ea6d3
Add ol.source.ImageArcGISRest ( #3880 )
...
* Add ol.source.ImageArcGISRest
ol.source.ImageArcGISRest is added so a single image can be retrieved
which is required when labelling is applied to the underlying map
service.
it's based on the approach used in ol.source.ImageWMS
* updating to remove as many good references as possible
changing so js passes lint checks
* fixing up so build and tests run
* putting back what was lost in the merge
* adding in an example
tidying up
2016-04-20 11:19:53 +02:00
Andreas Hocevar
f7147960a9
Add render options for vector tile layers
2016-04-19 13:04:38 +02:00
Frédéric Junod
e46c8370d5
Merge pull request #5213 from fredj/rm_ol.source.Source.prototype.setProjection
...
Remove unused ol.source.Source#setProjection function
2016-04-14 12:43:14 +02:00
Alessandro Isaacs
737daaeea9
Add @api annotation to setConfig
2016-04-12 08:26:30 -07:00
Frederic Junod
05ceaab620
Add an optional feature filter to getClosestFeatureToCoordinate
2016-04-12 12:17:07 +02:00
Frederic Junod
f9fd73c44e
Remove unused ol.source.Source#setProjection function
2016-04-11 15:43:25 +02:00
nicholas
c92223d792
Remove Goog.string
2016-04-08 18:09:57 +12:00
Frederic Junod
f645d81fee
Use ol.dom.createCanvasContext2D in ol.source.ImageStatic
2016-04-05 14:29:00 +02:00
Frederic Junod
db9c6a99c8
Move olx.source.AttributionOption out of externs/olx.js
2016-04-05 09:15:15 +02:00
Frederic Junod
a42d76d69d
Use ol.object.assign to update config properties in ol.source.CartoDB
2016-04-04 12:45:26 +02:00
Frederic Junod
02d262e387
Fix ol.source.CartoDB 'loading' state
2016-04-04 12:41:42 +02:00
Nicholas Latham
2ee1969de7
Remove goog.math.modulo and goog.math.lerp
2016-04-04 09:43:24 +02:00
Frédéric Junod
19fd3d6987
Merge pull request #5152 from fredj/cartodb_cleanup
...
Cartodb cleanup
2016-04-04 09:38:41 +02:00
Frederic Junod
80e984a9c3
Use Array.isArray instead of goog.isArray
2016-04-04 09:06:29 +02:00
Frederic Junod
e222409f50
Add externs for CartoDB response
2016-04-01 10:55:38 +02:00
Frederic Junod
b96de85044
Add cacheSize option to olx.source.CartoDBOptions
2016-04-01 10:44:31 +02:00
Frederic Junod
3f0de09dd7
Fix ol.source.CartoDB goog.base params
2016-04-01 10:44:31 +02:00
Frederic Junod
13a0eb4ca7
Add jsdoc tags in ol.source.CartoDB constructor
2016-04-01 10:44:31 +02:00
Frederic Junod
fb6353a816
Fix olx.source.CartoDBOptions definition
2016-04-01 10:44:31 +02:00
Frederic Junod
548e4abd35
Support minZoom in ol.source.Stamen
2016-04-01 09:46:36 +02:00
Alessandro Isaacs
85f11b093d
Use XHR
2016-03-30 15:05:43 -07:00
Alessandro Isaacs
2fd6352a57
Use https always
2016-03-30 11:45:20 -07:00
Alessandro Isaacs
8389c16315
Add CartoDB tile source.
2016-03-30 11:45:20 -07:00
Andreas Hocevar
c0de5a6835
Add tileJSON option to ol.source.TileUTFGrid
2016-03-24 23:02:28 +01:00
drnextgis
f9a16898a5
Add ol.source.Raster events on API docs page
2016-03-24 22:25:48 +06:00
Bart van den Eijnden
908d4051cd
Add more getters to ol.source.Vector
2016-03-17 15:35:51 +01:00
Marc Jansen
df4f1c1389
Accept simpler attributions in sources
2016-03-11 09:04:06 +01:00
Frederic Junod
4157882f2e
Add new ol.source.TileJSON#getTileJSON function
2016-03-09 10:55:19 +01:00
Tim Schaub
1877910b7e
Handle more XHR errors in the TileJSON source
2016-03-02 14:42:28 -07:00
Frederic Junod
9819aa38f5
Remove ol.DEFAULT_TILE_CACHE_HIGH_WATER_MARK
2016-03-01 09:05:12 +01:00
Frederic Junod
58d8b290af
Add new cacheSize option to ol.source
...
Option added to:
- olx.source.BingMapsOptions
- olx.source.MapQuestOptions
- olx.source.OSMOptions
- olx.source.StamenOptions
- olx.source.TileArcGISRestOptions
- olx.source.TileImageOptions
- olx.source.TileJSONOptions
- olx.source.TileWMSOptions
- olx.source.VectorTileOptions
- olx.source.XYZOptions
- olx.source.WMTSOptions
- olx.source.ZoomifyOptions
2016-03-01 09:05:12 +01:00
Andreas Hocevar
9b8ab88e41
Merge pull request #4917 from ahocevar/flexible-cluster
...
Make ol.source.Cluster more flexible by adding a geometryFunction option
2016-02-29 10:40:12 +01:00
Andreas Hocevar
0407e779f9
Make ol.source.Cluster more flexible by adding a geometryFunction option
2016-02-25 15:02:41 +01:00
Sebastian Baumhekel
7fcf2650ee
Allow to refresh a source and reload its data.
...
Provide an API to refresh a source and reload its data in an associated
layer, as for example already loaded tiles in a ol.source.Tile source
are not refreshed. Additionally a test for the new
ol.source.Source.refresh() function is provided.
Currently internal state is not cleaned up, e.g. already loaded tiles
in a `ol.source.Tile` source are still cached and not reloaded at all.
github issue #4867 (https://github.com/openlayers/ol3/issues/4867 )
2016-02-25 08:05:56 +01:00
Andreas Hocevar
f2d5d572ab
Only composeFrame when prepareFrame prepared something to render
2016-02-23 13:56:39 -07:00
Andreas Hocevar
6c7d6817bd
Merge pull request #4854 from ahocevar/fix-select-and-everything-that-relies-on-unmanaged-layers-and-skipped-features-this-time-for-real---hopefully
...
Always report skipped feature hits for the original layer
2016-02-22 09:23:28 +01:00
Petr Sloup
59574da74c
Fix reprojection of raster sources with gutter
2016-02-19 12:17:03 +01:00
Andreas Hocevar
7cc43d36ef
Merge pull request #4597 from ahocevar/direct-render
...
Render tiles directly to the map canvas
2016-02-18 11:06:34 +01:00
Andreas Hocevar
9f0fefd42d
Hit-detect skipped features, but not on unmanaged layer
2016-02-17 00:54:31 +01:00
Andreas Hocevar
bcf379cc8e
Merge pull request #4794 from ahocevar/fixed-tileloading
...
Make tile loading count no longer depend on source count
2016-02-16 15:51:55 +01:00