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
Tim Schaub
2e4b2e10ab
Fix additional doc links
2021-06-17 21:59:51 -06:00
Tim Schaub
05f1da24d7
Mark origin as optional
2021-05-31 14:25:01 -06:00
Tim Schaub
f08f31101c
Lowercase module names for modules without a default export
2021-05-03 07:32:12 -06:00
kikuchan
9dfbfc8011
Clarify how hex option is used
2021-04-08 00:20:11 +09:00
kikuchan
cff2bcfb1e
Designates all property private by appending _
2021-04-07 23:43:58 +09:00
kikuchan
3c830d5b59
Change SRID to srid for option naming consistency
2021-04-07 23:43:20 +09:00
kikuchan
03485a1c98
Add missing @api
2021-04-07 23:43:20 +09:00
kikuchan
0269c920fc
Remove unnecessary check
...
Co-authored-by: Tim Schaub <tschaub@users.noreply.github.com >
2021-04-07 23:42:03 +09:00
kikuchan
44ad13f8ea
Make writeFeature(s)/writeGeometry able to return ArrayBuffer
2021-04-05 02:12:26 +09:00
kikuchan
15e131a392
Add ol/format/WKB and its example
2021-04-05 02:12:23 +09:00
Amir Ashkan Baghdoust
d822e4085c
Merge branch 'main' of https://github.com/openlayers/openlayers into main
2021-03-07 18:31:04 +01:00
Maximilian Krög
363cc802d0
Update / fix links to external ressources
2021-02-13 01:32:54 +01:00
MoonE
7dda97e2f7
Merge pull request #11996 from MoonE/update-links
...
Update links to external resources
2021-02-12 21:33:12 +01:00
Tim Schaub
e194675582
Merge pull request #11991 from simonseyock/wkt-format-types
...
Fix some typings in format and format/WKT
2021-02-09 07:59:47 -07:00
Maximilian Krög
0d5d346bcd
Update links to external resources
2021-02-08 19:40:05 +01:00