andrewcoder002
b51d16b575
Update PluggableMap.js
...
Just changed formatting
2021-11-02 00:21:09 +01:00
andrewcoder002
7d3abbd5ca
Update PluggableMap.js
2021-11-02 00:21:03 +01:00
Andreas Hocevar
b7cd60a7d4
Merge pull request #12935 from mrpan/fixbug_declutter
...
fix bug #12913
2021-11-01 09:10:12 +01:00
Andreas Hocevar
c2877d56cb
Apply suggestions from code review
2021-10-31 09:18:47 +01:00
Tim Schaub
0e19c9aa2b
Example that demonstrates a color expression using variables
2021-10-29 11:48:41 -06:00
Tim Schaub
2adf74ece4
Include WebGL context in render events for WebGL layers
2021-10-29 08:39:47 -06:00
Edward Nash
e1b4634fa4
Correct parsing multi-properties with attributes
...
When parsing GML then conversion of properties containing XML attributes
to objects with a _content_ property must occur before the handling of
multiple attributes (conversion/adding to an array), as otherwise the
_content_ property and attributes are set on the array and not on the
array element.
Prior to this change, only multiple properties without attributes could
be correctly parsed.
Example problemeatic GML section:
<Link xlink:href="http://example.com/a "/>
<Link xlink:href="http://example.com/b "/>
Resulting property as JSON extract after this change:
{
"Link": [
{
"_content_": undefined,
"xlink:href": "http://example.com/a ",
},
{
"_content_": undefined,
"xlink:href": "http://example.com/b "
}
]
}
Prior to this change, the _content_ property and the properties for the
XML attributes would be set on the resulting JS Array object, with
previous entries being represented as nested arrays.
2021-10-29 16:35:05 +02:00
giserpan
26c6538531
fix bug when select interaction crashes with empty vector layer when declutter: true
2021-10-29 16:17:08 +08:00
Tim Schaub
aff751bdf0
Merge pull request #12917 from mike-000/removeFeature-2
...
Make removeFeature consistent with other remove methods
2021-10-27 14:20:10 -06:00
Tim Schaub
1b17f347c0
Add test for new removeFeature behavior
2021-10-27 14:11:55 -06:00
mike-000
a0da16e4e9
handle updateable displacement
2021-10-25 10:22:40 +01:00
mike-000
9267d2994d
handle updateable displacement
2021-10-25 10:20:36 +01:00
mike-000
1249ecee45
add setDisplacement method
2021-10-25 10:18:18 +01:00
mike-000
855fc6f5bc
removeFeature consistent with other remove methods
...
Make returning the removed feature a TODO
2021-10-24 20:33:48 +01:00
mike-000
94a125357e
Avoid startsWith for browser compatibility
2021-10-18 16:10:08 +01:00
Tim Schaub
2e531377e2
Merge pull request #12813 from mike-000/fix-zero-size
...
Do not replace icon color if image not loaded
2021-10-12 13:33:34 -06:00
Tim Schaub
5b4c682f2a
Merge pull request #12875 from tschaub/raster-loop
...
Only trigger change event if animating a tile transition
2021-10-12 13:27:53 -06:00
Matthijs Bon
72cb135aff
Update typeDefs for labelActive
...
Add description that 'span' element can be used and add HTMLElement as type
2021-10-12 11:29:35 +02:00
Matthijs Bon
4cbf04d029
Update typeDefs for Fullscreen Options
...
Remove line stating that a 'span' is also a valid inactiveClassName value.
2021-10-11 14:48:04 +02:00
Matthijs Bon
6bc8d0cd96
Fix typeDef for label
...
Allow string, Text and HTMLElement, instead of only string and HTMLElement
2021-10-11 10:11:44 +02:00
Matthijs Bon
d4bc7d3f39
Update typeDefs for Attribution and Control
...
For consistency with docs, update type for labels to {string|HTMLElement}
2021-10-11 10:05:47 +02:00
Tim Schaub
60790fea18
Only trigger change event if animating a tile transition
2021-10-10 13:03:09 -06:00
Tim Schaub
00e880f534
Merge pull request #12847 from tschaub/geotiff-types
...
Add more definitions for GeoTIFF types
2021-10-03 13:51:10 -06:00
Maximilian Krög
1be2c459c4
Fix end state for animation on view with invalid state
2021-10-03 00:22:18 +02:00
Tim Schaub
6506efab0c
Add more definitions for GeoTIFF types
2021-10-01 17:06:13 -06:00
Tim Schaub
9d709cb3d9
Additional documentation on the nodata property
2021-10-01 13:48:35 -06:00
Tim Schaub
ba444117bb
Use nodata values in the GeoTIFF headers for fill value
2021-10-01 11:47:27 -06:00
mike-000
54871b6c52
return null for unsupported layer types
2021-09-30 10:32:48 +01:00
Tim Schaub
709139c657
Merge pull request #12836 from tschaub/denormalized
...
Support a normalize option on the GeoTIFF source
2021-09-29 15:57:27 -06:00
MoonE
9e37182649
Merge pull request #12646 from ashchurova/fix-8136-hit-detection-custom-renderer
...
Support for hit detection in styles with custom rendering
2021-09-29 20:22:57 +02:00
Tim Schaub
d7b0191c78
Support a normalize option on the GeoTIFF source
2021-09-29 10:25:22 -06:00
MoonE
5f118b0244
Merge pull request #12831 from MoonE/fix-emptied-vectorimage
...
Fix rendering VectorImage with no features in view extent
2021-09-28 23:28:00 +02:00
Maximilian Krög
1942f3f91b
Fix rendering VectorImage with no features in view extent
2021-09-27 23:04:58 +02:00
Edward Nash
a4186fae3c
bugfix: Fix type of layers option in OverviewMap
...
* The foundation Layer class is BaseLayer and not Layer
2021-09-27 13:33:24 +02:00
Tim Schaub
79cfeb9a07
Spelling correction
2021-09-26 20:11:40 -06:00
mike-000
564d4f867f
Do not replace color if image not loaded
2021-09-25 13:24:39 +01:00
Tim Schaub
ef5d00cb9a
Controls inherit font size from parent
2021-09-25 06:31:36 +00:00
Tim Schaub
f5052149d1
Updated styles
2021-09-24 13:40:54 +00:00
Andreas Hocevar
2e222083de
Merge pull request #12804 from ahocevar/vectortiles-simpler-faster
...
Make vector tiles rendering simpler and a bit faster
2021-09-23 20:38:17 +00:00
Tim Schaub
b03b6b2e87
Merge pull request #12802 from tschaub/enqueue-next
...
Enqueue tiles at the next step in the animation
2021-09-23 20:37:38 +00:00
Andreas Hocevar
9aa890217c
Render images only when we have frame budget left
2021-09-23 20:11:26 +00:00
Andreas Hocevar
74a628ac85
Remove unused tile image render queue
2021-09-23 19:47:10 +00:00
Tim Schaub
4dc66ef8e3
Enqueue tiles at the next resolution in the animation
2021-09-23 17:28:39 +00:00
Andreas Hocevar
6d427050ce
Merge pull request #12792 from ahocevar/no-render-work-when-no-features
...
Do not do any canvas work when there are no features to render
2021-09-23 16:34:47 +00:00
Andreas Hocevar
3a2c33f827
Merge pull request #12797 from ahocevar/dependency-updates
...
Update geotiff
2021-09-23 14:28:55 +00:00
Tim Schaub
2435321133
Merge pull request #12799 from tschaub/dispose-webgl-points
...
All layers now call dispose on the renderer
2021-09-23 13:26:22 +00:00
Andreas Hocevar
c934f08866
Update geotiff
2021-09-23 13:24:58 +00:00
Tim Schaub
f357495574
All layers now call dispose on the renderer
2021-09-23 13:14:22 +00:00
Tim Schaub
a332842540
More cleanup in the WebGL tile layer's dispose method
2021-09-23 12:00:00 +00:00
Tim Schaub
a63735a649
Add a method to set the map layers
2021-09-21 13:34:35 +00:00