Commit Graph

13518 Commits

Author SHA1 Message Date
sbx320
6f433d8c46 Add attributionsCollapsible option to source/TileWMS and source/WMTS 2021-04-12 07:11:14 +02:00
Tim Schaub
5cccdc7c3b Merge pull request #12178 from kikuchan/ol-format-wkb
Add WKB (Well-Known Binary) format
2021-04-07 18:02:38 -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
MoonE
26c1377768 Merge pull request #12180 from MoonE/text-builder-geometry-widths
Fix rendering of MultiPolygon text styles
2021-04-06 21:40:56 +02:00
Andreas Hocevar
d419c5953f Merge pull request #12185 from ahocevar/prevent-default
MapBrowserEvent#preventDefault() behaves the same as with native events
2021-04-06 14:36:16 +02:00
Andreas Hocevar
6e7448cc2a Update comment 2021-04-06 12:16:44 +02:00
Maximilian Krög
4f962a651a Fix rendering of MultiPolygon text styles
When overflow is false and some of a MultiPolygon's polygons are
outside the rendered extent the coordinates and geometryWidths arrays are
not kept in sync. Therefore the width check will filter on wrong data and
some texts may not be rendered.
2021-04-05 22:33:15 +02:00
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