Commit Graph

11358 Commits

Author SHA1 Message Date
Antoine Abt fc8ba24d3f Store button and correctly type it. 2018-10-23 11:02:43 +02:00
Frederic Junod 3746ba99cf Change target type from Element to HTMLElement
Same as the parent class type for `MousePosition` and the type returned by the
`getViewport` function.
2018-10-23 09:17:17 +02:00
Frederic Junod d294b87358 Use super.method instead of prototype.method.call 2018-10-23 09:15:51 +02:00
Éric Lemoine 29b21da608 Remove unneeded code in VectorTile renderer 2018-10-23 07:55:34 +02:00
Frederic Junod a06ad4940c Re-export MousePosition from ol/control 2018-10-19 14:05:55 +02:00
Frédéric Junod 6ff7747d98 Merge pull request #8832 from fredj/remove-source-foreachfeatureatcoordinate
Remove source foreachfeatureatcoordinate from ol/renderer/webgl/ImageLayer
2018-10-19 11:20:33 +02:00
Frederic Junod 7e142080a1 Remove hasFeatureAtCoordinate from ol/renderer/webgl/ImageLayer 2018-10-17 17:08:53 +02:00
Frederic Junod 1a0f398f1f Fix wrong filename in type annotation 2018-10-17 15:47:15 +02:00
Frederic Junod 648ee4f4a4 Remove forEachFeatureAtCoordinate from ol/renderer/webgl/ImageLayer 2018-10-17 15:44:45 +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 94fd57f690 Set projection property in MousePosition option optional 2018-10-17 10:56:11 +02:00
Frederic Junod 939aa565b5 Change ol/control/ScaleLine getUnits return type
Remove `undefined` from the return type: the default value is 'metric'
2018-10-17 10:48:19 +02:00
Frederic Junod 041836c645 Change getUid return type from number to string 2018-10-17 10:22:53 +02:00
Frédéric Junod a85099a36b Merge pull request #8825 from schmidtk/ts-misc-errors
Fix TypeScript errors
2018-10-17 09:45:28 +02:00
Éric Lemoine d387702644 Re-export VectorTile from ol/source 2018-10-16 21:49:34 +02:00
Kevin Schmidt 49a4bf4248 Fix TypeScript error in ol/control/OverviewMap 2018-10-16 09:24:00 -06:00
Kevin Schmidt 1e90ffacec Avoid spread operator to fix TypeScript errors 2018-10-16 09:20:20 -06:00
Andreas Hocevar 43ca764293 Merge pull request #8806 from notnotse/preserve-fullscreen-button-class-names
Preserve button class name list in full screen control on toggle
2018-10-16 16:58:44 +02:00
Kevin Schmidt fb11aad1d1 Fix geometry type in ol/renderer/vector#renderGeometry 2018-10-16 08:34:02 -06:00
Kevin Schmidt f7adeac774 Fix arguments passed to forEachLayerAtCoordinate 2018-10-16 08:34:02 -06: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
Kevin Schmidt ee9c9bcefb Fix TypeScript errors in ol/format/GML 2018-10-16 07:20:22 -06:00
Andreas Hocevar e37039d85e Merge pull request #8820 from hmdavidjunior/master
Polygon intersectsExtent failure - Issue #8795
2018-10-16 14:12:09 +02:00
Frederic Junod aea9479c12 Rename parsers objects in ol/format/GML32 2018-10-16 08:48:42 +02:00
Frederic Junod 6b24760299 Fix jsdoc type notation 2018-10-16 08:26:41 +02:00
Niels Charlier 594a921598 Enable parsing complex features 2018-10-16 08:26:41 +02:00
NielsCharlier 2005c82dd2 add GML3.2 format 2018-10-16 08:26:41 +02:00
NielsCharlier 6252404d5b Fix GML Format featureMember tag 2018-10-16 08:25:53 +02:00
Frédéric Junod 316b4a1bb7 Merge pull request #8711 from schmidtk/ts-format-gml
Fix TypeScript errors in ol/format/GML
2018-10-16 08:25:41 +02:00
Hermes David Junior 7ec19645e9 Polygon intersectsExtent failure - Issue #8795 2018-10-15 10:00:37 -04: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 2768884044 Make new behavior overridable; update docs and examples 2018-10-14 12:10:40 +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
Andreas Hocevar 3ce80fbfb1 Merge pull request #8809 from notnotse/issue/8800-configurable-interval-options
Configurable interval options
2018-10-12 12:09:27 +02:00
Andreas Hocevar 8aebed1cd6 Add intervals default to documentation 2018-10-12 12:03:45 +02:00
itjope 50f90cdf61 Preserve button class name list in full screen control on toggle 2018-10-12 11:37:43 +02:00
Frédéric Junod 0f15d38ae7 Merge pull request #8798 from fredj/rawgit
Use unpkg.com instead of rawgit.com
2018-10-12 11:04:39 +02:00
Bobo Häggström 667f9a58f3 Add option to configure graticule interval limits 2018-10-12 10:41:12 +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
Andreas Hocevar c2c8cdab29 Merge pull request #8805 from notnotse/issue/8700-tile-scaled-below-zero
Do not draw image with width or height < 0.5
2018-10-11 19:40:41 +02:00
Bobo Häggström dded939a07 Do not draw image with width or height < 0.5 2018-10-11 15:22:48 +02:00
Andreas Hocevar 945f686f8a Remove 2nd argument of parseFloat 2018-10-11 14:00:15 +02:00
itjope 2c6e80a601 Handle zoom slider position with floating point numbers 2018-10-11 12:50:51 +02:00