Commit Graph

1631 Commits

Author SHA1 Message Date
Tim Schaub 0e91365859 Make the tile debug source useful for understanding tiles 2018-11-14 15:58:08 +01:00
Tim Schaub 2ec509fbca Add an image vector layer for rendering vectors to an image 2018-11-12 14:54:11 +01:00
Tim Schaub ba88081eba Merge pull request #8642 from dimin/master
fixes for optional key passing, issue #8067 for tile sources
2018-11-06 08:56:25 -07:00
Frederic Junod c12b41f8c6 Simplify import path in ol/source/ 2018-11-05 16:26:45 +01:00
Dmitry Fedorov 1de22f77dc merged with upstream and improved key handling 2018-11-02 17:19:10 -07:00
Andreas Hocevar 1a00e20b1b Merge pull request #8868 from ahocevar/abstract-methods
Throw when calling abstract methods; fix abstract return types
2018-10-31 12:07:01 +01:00
ahocevar 1cdd040c96 Throw when calling abstract methods; fix abstract return types 2018-10-30 18:55:49 +01:00
ahocevar f8c0d284de Fix module paths 2018-10-29 19:15:01 +01:00
ahocevar f82619d6d0 Make rendercomplete work with vector sources without loader 2018-10-24 18:37:51 +02:00
ahocevar d1395d005c Fix comments for JSDoc 2018-10-23 17:58:50 +02:00
Frederic Junod d294b87358 Use super.method instead of prototype.method.call 2018-10-23 09:15:51 +02:00
Frédéric Junod 3d72490241 Merge pull request #8827 from schmidtk/remove-source-foreachfeatureatcoordinate
Removed unused forEachFeatureAtCoordinate from ol/source/Source
2018-10-17 15:09:37 +02:00
Kevin Schmidt df4ef724b6 Removed unused forEachFeatureAtCoordinate from ol/source/Source
Fixes #8826.
2018-10-17 06:10:10 -06:00
Frederic Junod 041836c645 Change getUid return type from number to string 2018-10-17 10:22:53 +02:00
Frédéric Junod 076d6425cb Merge pull request #8817 from romanzoller/wmts-document-image-format
Clarify format option for ol/source/WMTS
2018-10-16 16:20:36 +02:00
Seul-gi Choi(Chase) f8585962b4 fix the way zoom comes from
fix zoom from view to tilegrid
2018-10-15 20:57:23 +09:00
Roman Zoller 43b9f70077 Clarify format option for ol/source/WMTS 2018-10-15 13:29:19 +02:00
Andreas Hocevar 6e7558e954 Merge pull request #8804 from notnotse/issue/8621-disable-collapsible-attributions-for-osm
Add possibility to disable collapsible attributions from Source
2018-10-14 12:16:36 +02:00
ahocevar af4e5ca7cf Improve JSDoc 2018-10-14 09:57:26 +02:00
Andreas Hocevar 9285b283c0 Merge pull request #8787 from ahocevar/no-instanceof
Replace instanceof checks with other logic
2018-10-12 20:44:41 +02:00
ahocevar 9163558511 Replace instanceof checks with other logic 2018-10-12 20:35:59 +02:00
Frédéric Junod 80753eb909 Merge pull request #8808 from fredj/f8807
Fix format and version properties in ol/source/WMTS Options typedef
2018-10-12 12:53:23 +02:00
Bobo Häggström 2f4d31c8f4 Add possibility to disable collapsible attributions from Source 2018-10-12 09:28:34 +02:00
Frederic Junod ad3f248825 Fix format and version properties in ol/source/WMTS Options typedef 2018-10-12 08:51:03 +02:00
Frederic Junod 94da8dd0e2 Move adaptAttributions out of the class, set default Options values 2018-10-10 14:23:13 +02:00
Frederic Junod 720993431c Fix indentation 2018-10-08 08:50:40 +02:00
Kevin Schmidt 8d9fe7f688 Use void for optional return type 2018-10-03 13:23:05 -06:00
Andreas Hocevar bb544114ee Merge pull request #8765 from ahocevar/fixed-tileurlfunction-bye-bye
Simplify logic for fixed tile url functions
2018-10-03 10:10:18 +02:00
ahocevar 4aff3d0631 Simplify logic for fixed tile url functions 2018-10-02 17:26:22 +02:00
Frederic Junod ae87cad7ef Use FeatureLike typedef
Use `import("./Feature.js").FeatureLike` typedef instead of `import("./Feature.js").default|import("./render/Feature.js").default`
2018-10-02 12:58:56 +02:00
Kevin Schmidt 7dbe38358a Replace TileClass with typeof ImageTile 2018-10-01 08:37:01 -06:00
Kevin Schmidt accdc79c05 Use typeof to simplify JSDoc class types 2018-10-01 08:30:06 -06:00
Frédéric Junod a2c7eb80fd Merge pull request #8736 from fredj/misc
Typescript misc fixes
2018-10-01 08:29:02 +02:00
Andreas Hocevar b49f2448c7 Merge pull request #8744 from wallw-bits/fix-typecheck-vectortilesource
Fix type checks in VectorTileSource
2018-09-29 20:44:56 +02:00
William Wall a685e85c10 Fix type checks in VectorTileSource
Use typeof(Class) instead of defining a typedef for the tile class
2018-09-28 12:33:33 -06:00
Andreas Hocevar 9cbe9926b4 Merge pull request #8742 from wallw-bits/fix-typecheck-vectorsource-2
Fix type checks in Vector source
2018-09-28 18:20:46 +02:00
William Wall 0bbbd33bb1 Fix type check in Raster source 2018-09-28 09:38:33 -06:00
William Wall 4da372d515 Fix type checks in Vector source
The getResolutions override is unnecessary because the parent
implementation also returns undefined.
2018-09-28 09:24:55 -06:00
Frederic Junod 3d9b1af105 Remove 'extent' properties from ol/source/Tile children classes 2018-09-28 09:13:43 +02:00
William Wall 1ee0c50c8a Fix type check in ol/source/Tile
Remove 'extent' because the parent Source class does not contain
'extent' on its options or use options.extent in the constructor.
Also removed 'extent' from 'Options' for 'TileSource'.
2018-09-27 10:47:51 -06:00
Frederic Junod 60c5d016a6 Remove unused 'opaque' property from ol/source/Stamen options
And set the `layer` property as mandatory.
2018-09-27 10:00:02 +02:00
Frederic Junod 7eee6ba07a Remove '=' from type when the parameter is not optional 2018-09-27 10:00:02 +02:00
Frederic Junod d8ee6acefa Remove extra imports in jsdoc 2018-09-27 10:00:02 +02:00
Frederic Junod 9cf7c71df8 Fix type checks in TileArcGISRest 2018-09-26 15:51:55 +02:00
Frédéric Junod 55b300082a Merge pull request #8708 from wallw-bits/fix-typecheck-imagecanvas
Fix type checks in ImageCanvas source
2018-09-26 15:50:42 +02:00
William Wall d37e04e8f3 Fix type checks in ImageArcGISRest
Added proper @link tags to links in descriptions. Fixed unclosed
backtick. Made params optional like the description says.
2018-09-25 14:00:23 -06:00
William Wall 3ba789eae6 Fix type checks in ImageCanvas source
Fixed constructor docs specifying optional options without a
default value. Fixed malformed @link tag in typedef description.
canvasFunction type was previously declared with the 'this' type
as ImageCanvas, but the 'this' ref was not passed on the scope when
calling the function.
2018-09-25 13:01:02 -06:00
Frederic Junod 7d1b90c7d2 Remove unused extent property from ol/source/Image options 2018-09-24 10:14:33 +02:00
Frederic Junod 557e2c9029 Remove extra imports in jsdoc
The symbols are already imported (es6 import)
2018-09-24 10:11:03 +02:00
Frederic Junod 3b208864bc Remove unused properties from Cluster options
Follow up on #8692
2018-09-24 10:06:25 +02:00