Commit Graph

13080 Commits

Author SHA1 Message Date
Andreas Hocevar dc83e46767 Merge pull request #12306 from M393/canvas-reuse
Fix layer canvas reuse
2021-05-23 11:03:47 +02:00
Maximilian Krög 5c7e499317 More consistent example for ol/layer/MapboxVector 2021-05-19 19:42:40 +02:00
Maximilian Krög bf0671fc08 Fix layer canvas reuse
If the scale values have more than 6 decimals they are rounded and can no longer be
compared to the created transform string.
2021-05-18 15:43:55 +02:00
MoonE f66fc99bd8 Merge pull request #12315 from MoonE/accessibility-attributions
Improve attribution accessibility
2021-05-14 21:18:43 +02:00
MoonE 99aa3b2640 Correctly initialize attribution aria state
Co-authored-by: Marc Jansen <jansen@terrestris.de>
2021-05-14 21:03:51 +02:00
AndersVittrup aa61c47fc4 Fixed document ref in hitdetect
fixed lint
2021-05-13 20:51:40 +02:00
Maximilian Krög fc9e3e5610 Improve attribution accessibility
Tab order of attribution text should be after the toggle button
Add aria-expanded state to the toggle button.
2021-05-13 16:42:56 +02:00
mike-000 666c996f8e Update src/ol/interaction/Translate.js
Co-authored-by: Tim Schaub <tschaub@users.noreply.github.com>
2021-05-10 19:53:30 +01:00
mike-000 41cc956b52 Add condition option 2021-05-10 16:03:01 +01:00
Tim Schaub f08f31101c Lowercase module names for modules without a default export 2021-05-03 07:32:12 -06:00
mike-000 45f88eb107 Do not set projection extent 2021-04-27 14:49:27 +01:00
MoonE c5d6ea3f6a Merge pull request #12227 from MoonE/fix-ie11-event-handling
Fix event handling for map in shadow root
2021-04-17 20:38:15 +02:00
Maximilian Krög 57e4e98757 Fix event handling with shadow-dom and ie11 event handling 2021-04-17 00:43:42 +02:00
Andreas Hocevar 7ec5cbffe9 Set block layout for text measurement 2021-04-16 22:46:14 +02:00
Maximilian Krög f999f1a675 Fix zoomslider layout with padding 2021-04-16 00:29:06 +02:00
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