Commit Graph

13518 Commits

Author SHA1 Message Date
Benjamin Gerber
a56d9bbb51 Better doc for WFS writeGetFeature options.
The geometryName option is required if you set the bbox option.
2020-11-11 13:06:16 +01:00
Andreas Hocevar
db180c555e Merge pull request #11718 from ahocevar/draw-extend
Initialize sketch point on Draw#extend()
2020-11-11 09:40:42 +01:00
mike-000
5d8212e48f Replace readURI with readStyleURL for StyleURLs
readStyleURL ensures URL begins with # if it does not contain one
Remove old partial fix
Test handling of missing # in StyleURL
2020-11-10 14:42:20 +00:00
Tim Schaub
739f7f4c39 Merge pull request #11723 from mike-000/patch-22
Drag and Drop Interaction support for formats that read ArrayBuffer sources
2020-11-09 14:29:05 -07:00
mike-000
a6860118c7 Support formats that read ArrayBuffer sources
Drag-and-Drop support for formats that read arraybuffer sources
Add TextDecoder to polyfills
Add custom Drag-and-Drop examples for KMZ and MVT
Add sample download and KML styles option to existing example
Test arraybuffer and constructed formats
2020-11-09 17:02:31 +00:00
Maximilian Krög
2ebe90f9d3 Add transition option to OSM and CartoDB sources, document default 2020-11-07 22:37:10 +01:00
Andreas Hocevar
7cc45c967b Correct meaning of 'start' and 'end' text align for LTR text 2020-11-06 18:13:50 +01:00
Andreas Hocevar
bdd343e87b Merge pull request #11721 from mike-000/patch-21
Handle empty Z coordinates in KML
2020-11-06 13:38:06 +01:00
Andreas Hocevar
946d11269f Merge pull request #11587 from MoonE/fix-text-along-path-orientation
Determine orientation by actual text start and end x
2020-11-06 13:35:55 +01:00
mike-000
f4654ff146 Handle empty Z coordinates 2020-11-06 10:19:29 +00:00
Andreas Hocevar
c1a547a9af Return to simpler and less efficient winding order algorithm 2020-11-06 00:02:01 +01:00
Andreas Hocevar
2526dc738c More straithgforward calculation of MAX_SAFE_Y
Co-authored-by: MoonE <maxi_kroeg@web.de>
2020-11-05 23:11:56 +01:00
Maximilian Krög
b6ee7084c9 Fix stroke for text along path wiht negative x scale 2020-11-05 22:35:54 +01:00
Maximilian Krög
03f6cbb5a8 Draw substrings on straight line in one operation 2020-11-05 22:35:54 +01:00
Maximilian Krög
528833b05b Don't iterate each chracter if entire string fits in single segment 2020-11-05 22:35:54 +01:00
Andreas Hocevar
9804dc8fa3 Clamp to lowest/highest possible value instead of validity extent 2020-11-05 21:51:05 +01:00
Andreas Hocevar
df261f6e0f Initialize sketch point on Draw#extend() 2020-11-05 18:27:40 +01:00
Andreas Hocevar
88fa3942d8 Merge pull request #11698 from ahocevar/draw-pointer
Draw pointer improvements
2020-11-02 18:40:12 +01:00
Andreas Hocevar
0ac52b2511 Merge pull request #11490 from mike-000/patch-13
iconUrlFunction option for ol/format/KML
2020-11-01 11:02:38 +01:00
Andreas Hocevar
48f357d518 Visual feedback for removeLastPoint() on touch devices 2020-10-29 22:06:51 +01:00
Andreas Hocevar
23a544aa30 Only draw when one pointer is active 2020-10-29 20:00:12 +01:00
Andreas Hocevar
b55d50d141 Merge pull request #11628 from simonseyock/vector-source-load-events
VectorSource load events
2020-10-27 19:42:45 +01:00
Simon Seyock
9b6114b768 Added clearer documentation 2020-10-27 09:35:38 +01:00
Simon Seyock
1bafab49f5 Added FEATURELOADSTART, FEATURELOADEND and FEATURELOADERROR events. 2020-10-25 21:38:57 +01:00
Andreas Hocevar
f4469934b8 Merge pull request #11673 from ahocevar/no-multitouch-as-doubleclick
Do not emulate dblclick and slingleclick on multi-touch
2020-10-22 11:00:38 +02:00
Andreas Hocevar
de1b4ddb97 Improve tests and fix singleclick 2020-10-21 16:40:16 +02:00
Andreas Hocevar
63a784531d Do not emulate dblclick on multi-touch 2020-10-21 00:44:25 +02:00
Maximilian Krög
7660f3c522 Determine orientation by actual text start and end x 2020-10-20 22:46:04 +02:00
Andreas Hocevar
9c964ce6de Merge pull request #11646 from ahocevar/unique-tile-key
Ensure a unique tile key for each tile coordinate
2020-10-20 21:12:04 +02:00
Andreas Hocevar
ee980276b6 Merge pull request #11655 from ahocevar/vectortile-image-mode-docs
Fix documentation of image render mode for vector tile layers
2020-10-20 21:09:06 +02:00
Andreas Hocevar
0c876c06be Merge pull request #11668 from tapioko/main
Don't try to get image data for zero sized images
2020-10-19 16:05:22 +02:00
Tapio Koskinen
3983500601 Don't try to get image data for zero sized images
Otherwise "context.getImageData(0, 0, width, height)" throws an exception.
2020-10-19 13:57:30 +03:00
Andreas Hocevar
f9dab60ca0 Merge pull request #11648 from virtualcitySYSTEMS/dwithin
Dwithin filter
2020-10-19 11:18:44 +02:00
Jannes Bolling
6b86c5f78d recreate old during filter behaviour for backwardscompatibility 2020-10-19 10:37:13 +02:00
Andreas Hocevar
bfeeba2194 Merge pull request #11590 from sbrunner/export-type
Export all the Event sub class
2020-10-17 20:38:54 +02:00
Andreas Hocevar
ffdece9dac Fix documentation of image render mode for vector tile layers 2020-10-16 10:31:39 +02:00
Jannes Bolling
b271536b8b fix Filter namespace handling for WFS 2.0 requests 2020-10-15 18:50:55 +02:00
Andreas Hocevar
527a8ca810 Deal with undefined units from proj4 longlat projections 2020-10-15 00:03:00 +02:00
Jannes Bolling
7261e25566 fix distanceWithin for WFS2.0 2020-10-14 19:09:26 +02:00
Jannes Bolling
259f1e371f refactor spatial filter serialization 2020-10-14 18:32:26 +02:00
Jannes Bolling
ab43047e7a add new DistanceWithin Filter 2020-10-14 18:15:54 +02:00
Andreas Hocevar
7d6e6fda28 Use a unique key for all tile classes 2020-10-13 22:35:12 +02:00
Andreas Hocevar
de5287a9ec Merge pull request #11403 from cazacugmihai/main
#11402 add CSS class name support for control buttons
2020-10-10 19:41:06 +02:00
Andreas Hocevar
eba0ba6ae0 Merge pull request #11592 from ahocevar/new-declutter
New decluttering implementation
2020-10-07 10:33:33 +02:00
Simon Seyock
393e83cd29 Extending FeatureLoader type and refactoring loadFeaturesXhr 2020-10-06 10:29:07 +02:00
Andreas Hocevar
c9ebf79df5 Add types and comments to make combined image+text decluttering clearer 2020-10-05 19:17:22 +02:00
Maximilian Krög
187a216379 Do not draw empty text styles
This fixes a rendering/flicker issue when an empty text style is decluttered
together with an image style.
2020-10-05 12:20:04 +02:00
elnabo
81103c9253 Allow mouse input if map is rendered in an other window 2020-10-02 09:39:19 +02:00
Andreas Hocevar
aa69c5d3aa Merge pull request #11597 from MoonE/select-interaction-performance
Improved performance when removing feature with only one Select
2020-09-30 13:09:49 +02:00
Andreas Hocevar
df67924f33 Merge pull request #11607 from mike-000/patch-15
Reset attributions control to collapsible when no uncollapsible sources are visible
2020-09-30 13:04:27 +02:00