Andreas Hocevar
af1f2bdda8
Expand urls before setting this.urls
2016-02-03 12:49:12 +01:00
Andreas Hocevar
78f44dcc8a
Improve XHR and ol.net.jsonp result/failure handling
2016-02-03 11:19:38 +01:00
Tim Schaub
80df1f5ae8
Move opt_useCapture arg to the end of the list
2016-02-03 11:19:38 +01:00
Andreas Hocevar
136c8af878
Add tests and documentation for ol.net.jsonp
...
ol.net.Jsonp was renamed to ol.net.jsonp, because it is not a constructor.
2016-02-03 11:19:38 +01:00
Andreas Hocevar
d7497f9686
Always provide useCapture and async args to browser
2016-02-03 11:19:38 +01:00
Andreas Hocevar
f35d0106b8
Remove goog.net.* and goog.async.AnimationDelay
2016-02-03 11:19:38 +01:00
Andreas Hocevar
2b451e7893
Remove goog.dom.ViewportSizeMonitor
2016-02-03 11:19:38 +01:00
Andreas Hocevar
3f2d79b7fe
Replace goog.events.Event/EventTarget system with our own
...
This also removes goog.events.listen, goog.events.unlisten,
goog.events.unlistenByKey and goog.events.BrowserEvent.
2016-02-03 11:19:38 +01:00
Nicholas L
ab793a58b6
Remove goog.array.isSorted
2016-02-03 11:41:39 +13:00
Nicholas L
9b492f49c7
Remove goog.array.findIndex
2016-02-03 11:41:39 +13:00
Nicholas L
640c59d9af
Remove goog.array.find
2016-02-03 11:41:39 +13:00
Nicholas L
d1b6a17773
Remove goog.array.extend
2016-02-03 11:41:38 +13:00
Frederic Junod
d8330d56a0
Add opaque option to olx.source.OSMOptions
2016-02-02 13:42:05 +01:00
Andreas Hocevar
39b9ba87fc
Merge pull request #4736 from ahocevar/fix-select
...
Properly detect feature on unmanaged layer for toggle selection
2016-02-02 08:58:16 +01:00
Andreas Hocevar
ecb2a42900
Properly detect feature on unmanaged layer for toggle selection
2016-01-30 18:13:48 +01:00
Andreas Hocevar
483376deb2
Untangle vector tile feature reprojection
2016-01-27 00:42:51 +01:00
Frederic Junod
b7cbd20b6f
Add missing JSDoc tags
2016-01-25 14:37:45 +01:00
Guillaume Beraudo
9132d91f66
Remove remaining unnecessary ol.source.State casts
2016-01-21 16:05:06 +01:00
Guillaume Beraudo
d32d6e6851
Simplify source state option
...
The ol.source.State is already a string.
Removed extra union and cast.
2016-01-21 14:40:58 +01:00
Guillaume Beraudo
f0e396678c
Add missing cacheSize attribute
2016-01-21 14:39:42 +01:00
Guillaume Beraudo
d2cc04d770
Bind tileUrlFunction to the source
...
In order to have the function returned by ol.source.UrlTile#getTileUrlFunction()
to return a url even when executed outside the context of the source, then it
should be bound to the source.
2016-01-20 17:54:32 +01:00
Bart van den Eijnden
268298d2d8
Merge pull request #4527 from bartvde/wmstime_new
...
Add support for smooth TileWMS dimensions
2016-01-20 14:14:16 +01:00
Andreas Hocevar
4b441dc503
Respect fixed tile url functions when setting url(s)
2016-01-19 13:40:47 +01:00
Nicholas L
db3ad70a3d
Remove use of goog.bind and use ES5 .bind
2016-01-15 22:10:55 +13:00
Petr Sloup
5dfb4199ca
Fix rendering of transparent MapQuest layer type
2016-01-12 23:23:16 +01:00
Petr Sloup
3607cddcca
Missing parameter description for ol.source.Tile#getOpaque
2016-01-12 09:16:40 +01:00
Tim Schaub
c9e2b384e7
Merge pull request #4602 from tschaub/eslint
...
Use ESLint.
2016-01-12 00:09:15 -08:00
Petr Sloup
2c3ed38714
Fix for reprojecting opaque tile sources
2016-01-12 08:58:16 +01:00
Tim Schaub
13a981c94b
Fewer blank lines
2016-01-11 22:03:23 -08:00
Tim Schaub
0a5d15db50
Remove jshint
2016-01-11 18:58:02 -08:00
Tim Schaub
3cf8618fc7
Prefer single line assignment to 80 character limit
2016-01-11 18:56:08 -08:00
Tim Schaub
e6f6dcc230
Partial valid-jsdoc corrections
2016-01-11 18:56:08 -08:00
Tim Schaub
fd0e2436da
Always provide a default case for switch
2016-01-11 18:56:08 -08:00
Tim Schaub
54df314936
Consistent curly brace style
2016-01-11 18:56:08 -08:00
Petr Sloup
bc0d783f50
Use XHR by default to load TileJSON in ol.source.TileJSON
2016-01-07 09:19:23 +01:00
Petr Sloup
ffd9ace84e
Add option to load TileJSON via XHR
2016-01-05 13:40:20 +01:00
Andreas Hocevar
9f43716723
Merge pull request #4596 from ahocevar/tile-key
...
Use consistent tile coordinate keys
2016-01-04 19:27:47 +01:00
Andreas Hocevar
b208550e6e
Merge pull request #4595 from ahocevar/opaque-xyz
...
Pass 'opaque' option on to superclass
2015-12-28 14:40:59 +01:00
Petr Sloup
767ac44e99
Make ol.source.Tile#getTilePixelRatio work for all sources
...
Even for sources which serve dynamic tile sizes based on devicePixelRatio
2015-12-28 13:19:03 +01:00
Andreas Hocevar
300b5cad44
Use consistent tile coordinate keys
...
Tile coordinate keys from ol.tilecoord.toString() are different than the ones
from Array.prototype.toString(). Both were used, potentially causing problems.
This change makes them consistent and removes the now unnecessary
ol.tileCoord.toString() function.
2015-12-27 17:59:51 +01:00
Andreas Hocevar
72ec3fd48d
Pass 'opaque' option on to superclass
2015-12-27 17:08:54 +01:00
Petr Sloup
9f5d85f2c6
Handle tile coordinate wrapping when reprojecting raster tiles
2015-12-11 16:35:23 +01:00
Bart van den Eijnden
992870e2d2
Allow specifying non default DPI on ol.source.TileArcGISRest
2015-12-09 15:27:20 +01:00
Bart van den Eijnden
0c3aed0083
Add support for smooth TileWMS dimensions
2015-12-09 14:06:47 +01:00
Frederic Junod
5b7227a0bf
Mark olx.source.WMTSOptions#dimensions as not null
2015-12-08 17:46:49 +01:00
Andreas Hocevar
3413f6d138
Merge pull request #4518 from ahocevar/osm-vector-tiles
...
Add support for OSM vector tiles
2015-12-08 11:01:49 +01:00
Andreas Hocevar
a940cdd6a7
Add support for OSM vector tiles
2015-12-07 11:15:25 +01:00
Frederic Junod
51b62fb188
Improve ol.source.WMTS.optionsFromCapabilities jsdoc layout
2015-11-30 12:39:24 +01:00
Frederic Junod
8d72589743
Remove use of goog.object.containsKey
2015-11-24 10:17:01 +01:00
Frederic Junod
aef097e348
Check ol.source.UrlTile#urls property for null value
...
Fixes #4446
2015-11-18 11:30:14 +01:00