Tim Schaub
99612e7f9a
Remove opt_ prefix
2022-08-11 20:14:35 -06:00
Maximilian Krög
5c4339f367
Remove more IE compatibility
2022-08-12 00:26:25 +02:00
Maximilian Krög
5b8d810f80
Use const in more places
2022-08-09 00:25:30 +02:00
Maximilian Krög
f2e82ba1e4
Fix default icon anchor with https icon url
2022-08-06 11:11:24 +02:00
Maximilian Krög
bb3c5bf144
Use String#startsWith instead of String#indexOf
2022-08-05 01:49:16 +02:00
Maximilian Krög
0b945f2321
Use includes instead of indexOf
2022-08-05 01:49:01 +02:00
Maximilian Krög
7ac61fdc70
Replace proj/Units enum with typedef
2022-07-30 15:06:12 +02:00
MoonE
dce24cfe40
Merge pull request #13901 from MoonE/text-types
...
Make Text options typesafe
2022-07-30 01:34:28 +02:00
Maximilian Krög
a076899470
Make Text options typesafe
2022-07-29 21:24:46 +02:00
Tim Schaub
25d47ed752
Use Object.assign
2022-07-28 13:23:16 -06:00
Tim Schaub
44289a3a31
Remove workaround for Array.prototype.includes
2022-07-27 11:17:49 -06:00
Maximilian Krög
62e335ceda
Replace IconOrigin enum with typedef
2022-07-19 23:24:25 +02:00
Maximilian Krög
7ec2725c1e
Replace IconAnchorUnits enum with typedef
2022-07-19 23:24:25 +02:00
Maximilian Krög
185485b0f7
Replace GeometryLayout enum with typedef
2022-07-19 23:24:22 +02:00
Maximilian Krög
4d2156ff3a
Replace IGCZ enum with typedef
2022-07-19 22:56:45 +02:00
Tim Schaub
d05204f50b
Use union type instead of enum for feature format
2022-07-15 10:48:37 +02:00
Tim Schaub
9a6f8493fb
Use union instead of enum for geometry type
2022-07-15 10:48:37 +02:00
mike-000
4f0845b03a
Change return type to Feature
2022-06-29 10:39:38 +01:00
Andreas Hocevar
e863960599
Support reading polygons with curve rings
2022-06-10 18:17:26 +02:00
Andreas Hocevar
2a8cc3d2f5
Map multiple LineStringSegments to a one LineString
2022-06-10 18:17:02 +02:00
Tim Schaub
bbbca0ab78
Update ESLint config and plugins
2022-05-23 15:01:07 -06:00
Andreas Hocevar
c03f58fe5d
Merge pull request #12936 from ejn/bugfix/gml-multiple-element-parsing
...
Bugfix for GML parsing with multiple property elements with XML attributes
2022-04-05 11:57:53 +02:00
Andreas Hocevar
c6a2392a2e
Update type annotations for GMLBase
2022-04-01 14:59:16 +02:00
Andreas Hocevar
e0b62016d2
Separate geometry and extent parsing
2022-03-18 19:37:01 +01:00
Sergi Ávila
f9bc546e1e
Fix type on GeoJSON
2022-02-14 12:50:06 +01:00
Maximilian Krög
a0dd0054a9
Fix jsdoc references
2022-02-13 13:39:06 +01:00
Tim Schaub
96de98bfbb
Merge pull request #13301 from EvertEt/strictnullchecks-2
...
Improve some null types to prepare for strictNullChecks
2022-02-09 04:51:54 -07:00
EvertEt
25e1d6c5d6
Improve some null types for strictNullChecks
2022-02-06 19:36:30 +01:00
EvertEt
e3d3d24f05
Improve some null types to prepare for strictNullChecks
2022-01-31 19:35:25 +01:00
Maximilian Krög
856f239280
Add function to convert RenderFeature to Feature
2022-01-29 17:52:07 +01:00
Maximilian Krög
f2d65ba0ab
Only set id if it is defined when creating feature
2022-01-29 16:06:01 +01:00
Andreas Hocevar
94cc414ea2
Defaults for the Layer, Source and Feature generics
2022-01-26 22:40:27 +01:00
Andreas Hocevar
2e5c1f2af9
Updates for TypeScript v4.6.0-beta
2022-01-26 22:40:27 +01:00
EvertEt
6a26ff4204
Fix MVT incorrect feature data handling
...
Closes #13213
2022-01-11 11:03:24 +01:00
Andreas Hocevar
6e8ae4a714
Do not exceed maximum call stack when parsing TopoJSON
2021-12-27 18:08:20 +01:00
Edward Nash
e1b4634fa4
Correct parsing multi-properties with attributes
...
When parsing GML then conversion of properties containing XML attributes
to objects with a _content_ property must occur before the handling of
multiple attributes (conversion/adding to an array), as otherwise the
_content_ property and attributes are set on the array and not on the
array element.
Prior to this change, only multiple properties without attributes could
be correctly parsed.
Example problemeatic GML section:
<Link xlink:href="http://example.com/a "/>
<Link xlink:href="http://example.com/b "/>
Resulting property as JSON extract after this change:
{
"Link": [
{
"_content_": undefined,
"xlink:href": "http://example.com/a ",
},
{
"_content_": undefined,
"xlink:href": "http://example.com/b "
}
]
}
Prior to this change, the _content_ property and the properties for the
XML attributes would be set on the resulting JS Array object, with
previous entries being represented as nested arrays.
2021-10-29 16:35:05 +02:00
Martin Hauck
c86841dae0
Update src/ol/format/IIIFInfo.js
...
Co-authored-by: Simon Seyock <8100558+simonseyock@users.noreply.github.com >
2021-09-16 17:15:11 +02:00
Martin Hauck
e955eeff21
Fix ImageInformationResponse typedef
...
`TileInfo` should be an array to conform to https://iiif.io/api/image
2021-09-16 11:41:33 +02:00
mike-000
7b725cfdf0
add @api
2021-09-12 16:20:22 +01:00
Tim Schaub
c0546c5f07
Rename function to avoid minification failure
2021-09-07 14:18:52 -06:00
Tim Schaub
69ec9871e2
Merge pull request #12695 from mike-000/KML
...
Update Google KML icon anchors and correct icon scaling
2021-09-05 08:51:06 -06:00
mike-000
7b8d6c817b
Ensure scale used in calculations is numeric
2021-09-05 00:04:14 +01:00
Tim Schaub
c8067bebbb
Add supported media type list to feature formats
2021-09-04 11:17:41 -06:00
mike-000
c76e78d0b3
Update Google default icon hotspot anchors
...
Update Google default icon hotspot anchors
Correct icon scaling
Include icon anchor in textOffset calculation
2021-09-04 17:38:36 +01:00
Simon Seyock
f636d68cce
Fix typing errors.
2021-08-06 17:14:17 +02:00
MoonE
2779ea1849
Merge pull request #12453 from MoonE/kml-multiple-linear-rings
...
Allow multiple LinearRings per innerBoundaryIs
2021-07-06 00:05:50 +02:00
Simon Seyock
20d1b907bd
Fix documentation for GML class.
2021-07-02 10:53:01 +02:00
Maximilian Krög
4c346353fa
Allow multiple LinearRings per innerBoundaryIs
2021-06-29 20:48:29 +02:00
Andreas Hocevar
79f5f46d27
Remove lint
2021-06-28 18:10:51 +02:00
Andreas Voegele
73c10b00ae
Ignore empty gx:coord elements in KML files
2021-06-18 17:10:05 +02:00