Tim Schaub
94ae282c57
Less weird name
2016-05-18 21:22:14 -06:00
Tim Schaub
2c1353f6e9
Allow XYZ source construction without options
2016-05-18 21:13:55 -06:00
Tim Schaub
783721951a
Less special handling for WMTS tiles
2016-05-18 18:52:42 -06:00
Tim Schaub
c5dcde4455
Less special handling for WMS tiles
2016-05-18 18:47:38 -06:00
Tim Schaub
47cc4aac62
Rename source.getKeyParams() to source.getKey()
2016-05-18 18:34:50 -06:00
Tim Schaub
f86e7e5a71
Add a settable key for all tile sources
...
The source's key is used as the key for all tiles in the source. For URL tile sources, the URL is the key.
2016-05-18 18:27:19 -06:00
Andreas Hocevar
9f501aeb0e
Merge pull request #5352 from marlowp/Issue#5030
...
Add getResolutions() to ol.View
2016-05-18 18:03:09 +02:00
Andreas Hocevar
2bff721227
Merge pull request #5343 from probins/nonapitypedefs
...
Rename non-api sub-namespace typedefs
2016-05-18 17:34:08 +02:00
tsauerwein
7080c508a4
Handle multiple featureMember elements for different types
2016-05-18 11:26:13 +02:00
Peter Marlow
350c4d525b
Added getResolutions() function to ol.View
...
New getResolutions() function created for ol.View. This function returns
the array of resolutions passed to the ol.View constructor, or undefined
if none were given.
2016-05-15 16:47:27 +01:00
Tim Schaub
5a5ad7ce31
Correct types
2016-05-13 12:08:59 -06:00
Tim Schaub
5c07628044
Return id if no data is present
2016-05-13 12:08:58 -06:00
Attila Berényi
4c82b3403c
Use XHR by default
2016-05-13 12:08:58 -06:00
Peter Robins
176ddd3403
Rename non-api sub-namespace typedefs
2016-05-13 10:24:57 +00:00
Andreas Hocevar
4626554a18
Merge pull request #5335 from probins/typedefs
...
Move typedefs to separate file
2016-05-13 10:23:14 +02:00
Peter Robins
0daa2cf574
Document typedef move
2016-05-12 07:45:48 +00:00
Peter Robins
dd358af0f2
Fix WFS errors by moving typedefs to own file
...
The WFS typedefs are the only sub-sub-namespace ones which are marked 'api', so cannot be renamed. Moving them to their own file resolves the errors.
2016-05-12 07:31:50 +00:00
Peter Robins
ab9ff536f5
Add goog.provides to typedefs.js to prevent compiler warnings
...
Without this there are 'defined before its owner' warnings, and issues of missing namespaces when compiling code with the library.
2016-05-11 19:51:14 +00: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
a1c86ed560
Fix eventTargetLike
...
This needs a goog.provide and a goog.require in events.js to compile.
2016-05-11 19:46:38 +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
ed34caa25a
Fix ogc/filter
...
This only compiles if there is goog.provide('ol.Extent') in the typedefs file, and goog.require('ol.Extent') in this file. An alternative is to add an assert statement, but this means an extra dependency.
With this change there is no longer a need for the change to tasks/build.js
2016-05-11 17:18:05 +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
Frederic Junod
b49546d2af
Add a 'condition' option to ol.interaction.Modify
2016-05-10 17:17:17 +02: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
Andreas Hocevar
c4387c14ff
Merge pull request #5313 from ahocevar/rastersource-framestate-extent
...
Rastersource framestate extent
2016-05-10 14:35:25 +02:00
Peter Robins
2a44669e18
Add some goog.requires to keep compiler happy
2016-05-09 16:00:07 +00:00
Andreas Hocevar
39087b2fa4
Reuse the frameState extent
2016-05-09 15:23:00 +02: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
Tim Schaub
56a365acf4
Merge pull request #5319 from probins/patch-1
...
Remove outdated fixme from framestate.js.
2016-05-09 06:41:01 -06:00
Andreas Hocevar
fbb9194923
Merge pull request #5274 from samuellapointe/logofix
...
Allow using elements in logo attribution options
2016-05-09 13:46:11 +02:00
Peter Robins
ffe8daec66
Remove outdated fixme from framestate.js
2016-05-09 09:18:56 +01:00
Bart van den Eijnden
7984cc2b57
Merge pull request #5162 from probins/strategy
...
Improve docs/examples for loadingstrategy
2016-05-09 09:43:25 +02:00
Peter Robins
51397ee294
Remove unused ol.TileCoordTransformType
2016-05-07 10:35:11 +00:00
Tim Schaub
ff37fe128f
Merge pull request #5310 from tschaub/fix-raster
...
Get raster sources working again.
2016-05-04 14:25:02 -04:00
Andreas Hocevar
72468f3470
Merge pull request #5291 from ahocevar/dispatch-while-dispatching-once-listener
...
Allow once listeners to dispatch events of same type
2016-05-04 12:10:21 -04:00
Andreas Hocevar
b2c6bb11cf
Allow once listeners to dispatch events of same type
2016-05-04 11:55:30 -04:00
Tim Schaub
0b4ef31750
Get raster sources working again
...
This reverts 8e1ffbf91e
2016-05-03 17:47:05 -04:00
Samuel Lapointe
f835d86333
Reduce closure dependency, fix GET issue
2016-05-02 09:34:58 -04:00
Frederic Junod
7c15280e81
Remove use of goog.partial
...
Use Function.prototype.bind instead, see:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind#Partially_applied_functions_(currying)
2016-05-02 14:52:09 +02:00
Peter Robins
c28fd2ae1c
Document handling of KML MultiGeometries
2016-04-29 10:56:43 +01:00
giohappy
cd2ea6c7d6
Block removePoint during while dragging
2016-04-29 09:00:14 +02:00
Andreas Hocevar
a54c686691
Merge pull request #5288 from giohappy/master
...
Expose removeVertex_ as removePoint
2016-04-28 13:01:11 +02:00
giohappy
d49bcdeedc
Expose removeVertex_ as removePoint
2016-04-28 12:47:46 +02:00
Andreas Hocevar
c17e23f2ae
Skip unnecessary render functions
2016-04-28 10:22:20 +02: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
Andreas Hocevar
c72a39ff53
Coding style fixes
2016-04-27 17:33:55 +02:00
Andreas Hocevar
ec832243a2
Add comment making clear that 'vector' mode does not generate images
2016-04-27 17:31:20 +02:00
Andreas Hocevar
c5f81a5706
Unconditionally call drawImage - image is always available
2016-04-27 17:31:20 +02:00