Commit Graph

1470 Commits

Author SHA1 Message Date
Tim Schaub
c8b869047a Add flat style types to draw and modify interactions 2022-08-25 17:17:28 +02:00
Tim Schaub
0df9561826 Consider both tracing directions when within snap tolerance 2022-08-25 17:17:28 +02:00
Tim Schaub
f8ba7dec0c Support tracing with the draw interaction 2022-08-23 20:08:46 +02:00
mike-000
bfee7f184a support userProjection 2022-08-17 15:59:25 +01:00
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
Tim Schaub
4d3cb782c8 Remove circular dependency 2022-08-11 11:51:01 -06:00
Maximilian Krög
0b945f2321 Use includes instead of indexOf 2022-08-05 01:49:01 +02:00
Tim Schaub
85ef563ba8 Remove PluggableMap 2022-07-31 10:08:13 -06:00
MoonE
37aaf8ed4b Merge pull request #13902 from MoonE/type-safe-collection
Improve Collection type-safety
2022-07-30 21:38:48 +02:00
Maximilian Krög
75c17e55b1 Improve Collection type-safety 2022-07-30 21:30:35 +02:00
Maximilian Krög
2caa071a08 Replace MouseWheelZoom Mode enum with typedef 2022-07-30 15:06:12 +02:00
Tim Schaub
25d47ed752 Use Object.assign 2022-07-28 13:23:16 -06:00
Tim Schaub
641bd7af33 Use Object.values 2022-07-27 15:03:47 -06:00
Tim Schaub
44289a3a31 Remove workaround for Array.prototype.includes 2022-07-27 11:17:49 -06:00
Maximilian Krög
7004d18519 Replace Draw Mode 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
Andreas Hocevar
884c0c6129 Resolve conflicts 2022-07-15 10:51:08 +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
Andreas Hocevar
134ec9c8d0 Remove duplicated logic from PointerInteraction 2022-06-16 14:36:17 +02:00
Andreas Hocevar
f99dc1e9ec Better fix for changing pointer ids on event target change 2022-06-15 16:29:07 +02:00
Andreas Hocevar
1852ad78a2 Clean up tracked pointers when the event target has changed 2022-06-15 12:56:52 +02:00
Andreas Hocevar
9b6f94e194 Merge pull request #13745 from hargasinski/fix-modifying-polygons
Fix modifying polygons with overlapping vertices
2022-06-12 13:44:15 +02:00
Maximilian Krög
758048f5d8 Fix typo in method names 2022-06-11 17:56:42 +02:00
Hubert Argasinski
5bcbd23cca Fix modifying polygons with overlapping vertices
When a polygonal geometry, where one of the vertices overlaps the first
vertex in the same ring, is modified, ensure the correct vertices are
updated.
2022-06-08 18:36:49 -04:00
Tim Schaub
cf7daf36d6 Include layer visibility in the URL 2022-05-21 10:50:45 -06:00
Tim Schaub
6690dc99dd Link interaction 2022-05-21 10:50:38 -06:00
Denis Rykov
026c88ca35 Add geometryLayout property to Draw interaction 2022-04-11 13:13:25 +02:00
Maximilian Krög
bcebd73388 Improve performance when adding features to Snap 2022-03-07 19:54:43 +01:00
Maximilian Krög
444763f47b Set correct extent for multipoint points in Snap 2022-03-07 19:54:40 +01:00
Maximilian Krög
49acb39f72 Return null when not snapped 2022-03-07 08:57:31 +01:00
pala
e47bd0bb93 Snap Interaction can snap to Point on line segment
Fixes #13440
2022-03-07 08:57:31 +01:00
Maximilian Krög
f236ff0086 Lower case first letter for function parameter 2022-02-14 22:04:26 +01:00
Maximilian Krög
b29ab8f104 Link to class instead of module pages 2022-02-14 21:53:07 +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
Andreas Hocevar
94cc414ea2 Defaults for the Layer, Source and Feature generics 2022-01-26 22:40:27 +01:00
Andreas Hocevar
1f761d943f Merge pull request #13219 from ahocevar/modify-delete-no-event
Do not fire modifyend event when nothing was modified
2022-01-11 13:56:08 +01:00
Andreas Hocevar
48ce451f53 Do not fire modifyend event when nothing was modified 2022-01-11 12:45:08 +01:00
EvertEt
cd840aaf88 Fix some typos in ModifyInteraction documentation 2022-01-11 11:03:04 +01:00
Andreas Hocevar
4f7cadd17d Add layer also for programmatically selected features 2021-12-21 08:25:57 +01:00
Maximilian Krög
c47fac19b5 Fix style related apidoc issues 2021-11-14 16:56:59 +01:00
Tim Schaub
79cfeb9a07 Spelling correction 2021-09-26 20:11:40 -06:00
mike-000
5d937b8c5b Remove docs reference to unmanaged layer 2021-09-13 10:27:16 +01:00
Tim Schaub
bb20ca3c23 Merge pull request #12736 from simonseyock/onsignature-return
OnSignatures return more specific type
2021-09-10 08:33:47 -06:00
Simon Seyock
ce4f6ccb0d OnSignatures return more specific type 2021-09-10 16:11:38 +02:00
Simon Seyock
c27974b3da Add missing 'boxstart' event to OnSignature
Fixes #12725
2021-09-09 16:48:23 +02:00