Andreas Hocevar
0da0c903a0
MapBrowserEvent#preventDefault() behaves the same as with native events
2021-04-05 10:05:32 +02: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
MoonE
6f7b6c8141
Merge pull request #12028 from MoonE/overview-map-no-initial-target
...
Overview map no initial target
2021-04-03 23:15:30 +02:00
Andreas Hocevar
5049e097d5
Merge pull request #12172 from ahocevar/icon-displacement
...
Fix icon displacement
2021-04-01 14:59:40 +02:00
Andreas Hocevar
4a6db3d2f8
Fix icon displacement
2021-04-01 12:08:32 +02:00
Andreas Hocevar
96759f639a
Merge pull request #12168 from ahocevar/getfeatures-reference
...
VectorSource#getFeatures() consistently returns a new array
2021-04-01 09:00:53 +02:00
Andreas Hocevar
59d686d104
Fix typo, add test
2021-04-01 08:38:29 +02:00
Andreas Hocevar
a01893b275
VectorSource#getFeatures() consistently returns a new array
2021-03-31 18:18:50 +02:00
Andreas Hocevar
1530037765
Fix how renderMode is derived from options
2021-03-29 23:12:21 +02:00
Andreas Hocevar
1cb89ab991
Merge pull request #12137 from ahocevar/low-frame-budget
...
Load less tiles when low on frame budget
2021-03-26 22:04:54 +01:00
Andreas Hocevar
158f6c7bcd
Fix singleclick and doubleclick events
2021-03-25 21:20:16 +01:00
kikitte.lee
635191f31d
call the success callback after the features are added
2021-03-25 14:26:12 +08:00
Andreas Hocevar
54763d2fb0
Load less tiles when low on frame budget
2021-03-23 22:39:08 +01:00
Amir Ashkan Baghdoust
3684749198
Merge branch 'main' of https://github.com/openlayers/openlayers into main
2021-03-14 22:24:54 +01:00
Simon Seyock
2b57584180
fix prettier linting problems
2021-03-09 09:08:27 +01:00
Simon Seyock
610896ef95
fix jsdoc lint problems
2021-03-09 09:00:50 +01:00
Amir Ashkan Baghdoust
d822e4085c
Merge branch 'main' of https://github.com/openlayers/openlayers into main
2021-03-07 18:31:04 +01:00
Marc Jansen
df23c234dc
Fix common misspellings
...
These were found with codespell.
2021-03-05 22:53:35 +01:00
Danilo Bretschneider
18cd87617a
Fix broken link (to ArcGIS developers docs) of ImageArcGISRest documentation
2021-03-05 18:43:58 +01:00
Andreas Hocevar
96b6809209
Merge pull request #12083 from ahocevar/simplify-events
...
Simplify event handling for custom elements
2021-03-05 08:20:37 +01:00
MoonE
ef86965456
Merge pull request #12080 from MoonE/cluster-source-min-distance
...
Add a minimum distance config to the cluster source
2021-03-04 22:28:30 +01:00
Andreas Hocevar
83ee87581f
Simplify event handling for custom elements
2021-03-04 22:16:28 +01:00
Maximilian Krög
e6b1d38cc3
Add units for, remove unnecessary html
2021-03-04 21:05:01 +01:00
Andreas Hocevar
4ce05ed980
Only preventDefault when event is cancelable
2021-03-03 23:51:48 +01:00
Maximilian Krög
1c4f525ca9
Add a minimum distance config to the cluster source
2021-03-02 23:07:52 +01:00
MoonE
d09e303672
Merge pull request #12016 from MoonE/hitdetect-resolution-constant
...
Fix VectorLayer hitdetect problems
2021-02-27 20:50:31 +01:00
Maximilian Krög
801dba4a38
Call Draw finishCondition for every type
2021-02-27 12:04:17 +01:00
Maximilian Krög
288fd0b74c
Improve Draw type to mode conversion
...
Throw error if Draw is configured with an invalid type.
2021-02-27 11:12:24 +01:00
Maximilian Krög
29349d275e
Always return Promise from getFeatures
2021-02-24 18:37:30 +01:00
Tim Schaub
cdd28b8064
Merge pull request #12024 from tschaub/tile-grid-util
...
Add a tile grid method for getting a tile range given a tile coord and zoom level
2021-02-21 18:25:14 -07:00
Tim Schaub
d4d38ced5a
Merge pull request #12023 from tschaub/uniform-names
...
Avoid collisions between user variables and internal names in WebGL shaders
2021-02-15 09:24:09 -07:00
Maximilian Krög
59c76334b1
Draw box if OverviewMap is added to an existing map
2021-02-15 00:45:46 +01:00
Maximilian Krög
022b8cdb62
Fix layout of overview map
...
The button should not change its position when the collapsed state changes.
The overview map had a somewhat larger padding at the bottom due to being an
inline-block element and the configured line-height of 1.5.
2021-02-15 00:12:52 +01:00
Maximilian Krög
73d288c191
Fix initially empty overview map
2021-02-15 00:12:52 +01:00
Maximilian Krög
0f64bb7459
Invalid size set when map is not added to document
...
Parsing of an empty string with parseFloat resulted in NaN.
2021-02-15 00:12:37 +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
c830ba07ce
Allow projection to be set after construction
2021-02-11 07:43:18 -07:00
Tim Schaub
a7684d8fbf
Avoid colliding user variables with internal names
2021-02-11 07:38:46 -07:00
Tim Schaub
ebc8864680
Merge pull request #12022 from tschaub/expression-parsing
...
Throw when WebGL style parsing encounters an unexpected type
2021-02-11 06:10:23 -07:00
Tim Schaub
c351bcabdf
Merge pull request #12020 from tschaub/delete-buffer
...
Fix WebGL buffer deletion
2021-02-11 06:07:22 -07:00
Andreas Hocevar
0f953193ea
Merge pull request #12018 from ahocevar/only-render-image-when-needed
...
Only render vector tile image when needed
2021-02-11 08:35:57 +01:00
Tim Schaub
c9a3b3bf92
Throw when parsing encounters an unexpected type
2021-02-10 19:18:55 -07:00
Tim Schaub
f121db1ad8
Fix buffer deletion
2021-02-10 18:39:45 -07:00
Tim Schaub
423d1bdcdb
Add method for getting a tile range from a coord and zoom level
2021-02-10 18:04:59 -07:00
Tim Schaub
79330e2aeb
Maintain an extent array for reuse
2021-02-10 18:04:27 -07:00
Maximilian Krög
dde6d6559c
Reduce work for hitdetection
...
Skip cloning of style if geometry is not in extent.
2021-02-10 21:27:25 +01:00
Andreas Hocevar
2d8e7d87ba
Always use same order for renderedTiles
2021-02-10 21:24:06 +01:00
Maximilian Krög
99564671c1
Only create one canvas per icon
2021-02-10 21:18:59 +01:00