Commit Graph

3951 Commits

Author SHA1 Message Date
Andreas Hocevar
0da0c903a0 MapBrowserEvent#preventDefault() behaves the same as with native events 2021-04-05 10:05:32 +02:00
kikuchan
15a8eb864a Add test for ol/format/WKB 2021-04-05 02:12:26 +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
59d686d104 Fix typo, add test 2021-04-01 08:38:29 +02:00
kikitte.lee
635191f31d call the success callback after the features are added 2021-03-25 14:26:12 +08:00
Amir Ashkan Baghdoust
569857a8eb Reverts lint changes to existing code 2021-03-15 02:11:22 +01:00
Amir Ashkan Baghdoust
20eb76594a Lint fix for imports 2021-03-15 02:00:34 +01:00
Amir Ashkan Baghdoust
f995de37d4 Adds test for the WMTS capabilities with Boundingbox 2021-03-15 01:53:39 +01:00
Simon Seyock
2b57584180 fix prettier linting problems 2021-03-09 09:08:27 +01:00
Andreas Hocevar
83ee87581f Simplify event handling for custom elements 2021-03-04 22:16:28 +01:00
Maximilian Krög
873020e1f8 Test Draw finishCondition for each type 2021-02-27 12:03:30 +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
Andreas Hocevar
59b4ae8d09 TileQueue tests with events instead of setTimeout 2021-02-22 10:01:43 +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
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
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
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
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
MoonE
261bba8359 Merge pull request #11995 from MoonE/vectorlayer-hitdetect-rounding
Fix hitdetect inaccuracy for VectorLayer's getFeatures
2021-02-09 19:59:05 +01:00
Maximilian Krög
8bd081d992 Add test for hitdetect function 2021-02-09 19:53:08 +01:00
Andreas Hocevar
56cea5f880 Merge pull request #11990 from ahocevar/remove-vectortile-image-mode
Remove renderMode: 'image' for vector tile layers
2021-02-09 16:36:27 +01:00
Andreas Hocevar
386aab6190 Merge pull request #12007 from ahocevar/modifystart-features
Report all features being modified
2021-02-09 16:32:15 +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
Andreas Hocevar
7789bc5b15 Report all features being modified 2021-02-08 20:44:19 +01:00
Maximilian Krög
0d5d346bcd Update links to external resources 2021-02-08 19:40:05 +01:00
Simon Seyock
5d43818025 Fix test for projection. 2021-02-06 17:45:20 +01:00
Andreas Hocevar
45ba5792cc Remove renderMode: 'image' for vector tile layers 2021-02-06 14:57:21 +01:00
Andreas Hocevar
a7b92cba4d Merge pull request #11978 from ahocevar/snap-delta-optional
Add snapToPointer option
2021-02-06 12:57:17 +01:00
Andreas Hocevar
d31abd2f77 Sensible defaults 2021-02-06 12:04:31 +01:00
Simon Seyock
2ad5789797 Add descriptions for properties. 2021-02-04 18:19:33 +01:00
Simon Seyock
8facb252f1 Replace google closure syntax = with brackets around name 2021-02-03 14:06:02 +01:00
Simon Seyock
c15faa19fc enable check-types 2021-02-03 13:59:34 +01:00
Andreas Hocevar
bf90ce2789 Add snapToPointer option 2021-02-03 10:52:10 +01:00
Tim Schaub
57e7be0a00 Upper case type 2021-02-02 13:53:24 -07:00
Simon Seyock
7a155a00e7 Replace nested types by typedefs 2021-02-02 18:03:12 +01:00
Andreas Hocevar
3d56201768 Merge pull request #11938 from ahocevar/view-padding-calculateextent
Take view padding into account for calculateExtent()
2021-01-26 11:15:54 +01:00
Andreas Hocevar
aa2c301f3e Do not change center when the padding changes 2021-01-23 21:50:41 +01:00
Andreas Hocevar
4f2b2c5750 Fix loading flag for vector loading strategies 2021-01-23 15:30:34 +01:00
Andreas Hocevar
900107df1d Take view padding into account for calculateExtent() 2021-01-22 20:08:05 +01:00
Andreas Hocevar
45f367cc04 Merge pull request #11856 from mike-000/patch-18
Use tilegrid extent as default attributionExtent for TileJSON
2021-01-15 14:35:20 +01:00
mike-000
50c99330e9 test null geometry 2021-01-14 11:25:07 +00:00
Andreas Hocevar
58f533315d Merge pull request #11893 from mjjurkoic/issue-11860
Pass the renderer function to the cloned style
2021-01-13 09:48:13 +01:00
Michael Jurkoic
94fcc049ce Improved renderer clone tests
Removed test that asserted the cloned renderer would not reference the same object as the original.

Replaced tests that stringified the renderer function with tests that compare the original with the clone by reference.
2021-01-10 10:10:09 -08:00
Michael Jurkoic
760b5970f1 Added tests for renderer clone 2021-01-08 16:23:04 -08:00