Commit Graph

776 Commits

Author SHA1 Message Date
Andreas Hocevar 3638df90f8 Add layer background 2021-12-06 00:07:15 +01:00
Andreas Hocevar 60c4268569 Normalize relative urls for style url 2021-12-04 14:36:08 +01:00
Tim Schaub c2fc800fc1 Allow WebGL tile layer style to be updated 2021-12-02 16:32:00 -07:00
Andreas Hocevar 544e55fe1a Use source minzoom if not configured otherwise 2021-12-02 06:19:21 +01:00
Andreas Hocevar e00d005088 Fix tiles and background handling 2021-11-24 10:53:55 +01:00
Andreas Hocevar 332672ca1e Merge pull request #13026 from ahocevar/graticule-docs
Fix strokeStyle documentation
2021-11-20 21:04:46 +01:00
Andreas Hocevar b88a466601 Fix strokeStyle documentation 2021-11-20 17:25:14 +01:00
Andreas Hocevar 5ccea03e04 Merge pull request #13025 from ahocevar/mapboxvector-background
Add background to MapboxVector layer
2021-11-20 17:19:46 +01:00
Tim Schaub 6f80ba93c8 Add the renderer type to generic layer template variables 2021-11-19 10:56:37 -07:00
Andreas Hocevar d4cc76f3f1 Add background to MapboxVector layer 2021-11-19 18:17:55 +01:00
Tim Schaub f336cf30b0 Additional types for WebGL renderer, sources, and tiles 2021-11-16 11:24:41 -07:00
Tim Schaub a2f3c02ac5 Allow canvas reuse for WebGL layers 2021-11-14 12:34:14 -07:00
Maximilian Krög c47fac19b5 Fix style related apidoc issues 2021-11-14 16:56:59 +01:00
EvertEt d366d283b1 Add null to style jsdoc of VectorImage and VectorTile
Similar to BaseVector
2021-11-14 10:54:05 +01:00
Tim Schaub 0dfbedb099 Lazily create the WebGL helper 2021-11-13 11:37:09 -07:00
Tim Schaub 371bb85350 Add a map property to layers 2021-11-12 17:54:10 -07:00
Tim Schaub 924b85f4ca Merge pull request #12939 from tschaub/dynamic-colors
Example that demonstrates a color expression using variables
2021-11-09 06:35:38 -07:00
Andreas Hocevar 1697d1b647 Use URL constructor
Co-authored-by: Tim Schaub <tschaub@users.noreply.github.com>
2021-11-03 13:37:47 +01:00
Andreas Hocevar cbac16e21f Make MapboxVector layer work in more access key scenarios 2021-11-02 20:45:30 +01:00
Tim Schaub 0e19c9aa2b Example that demonstrates a color expression using variables 2021-10-29 11:48:41 -06:00
mike-000 94a125357e Avoid startsWith for browser compatibility 2021-10-18 16:10:08 +01: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
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
Andreas Hocevar 8585d4382b Handle TileJSON urls in Mapbox Style document 2021-09-20 23:37:53 +00:00
mike-000 a5ed3ce853 Change Select to Draw to describe unmanaged layers 2021-09-13 10:20:30 +01:00
Simon Seyock ce4f6ccb0d OnSignatures return more specific type 2021-09-10 16:11:38 +02:00
Tim Schaub d37e3e3134 Configure cache on the layer instead of the source 2021-08-27 18:04:00 -06:00
Andreas Hocevar 814d70b1cc Add more tests 2021-08-18 17:54:48 +02:00
Andreas Hocevar 7acd5338c9 Allow sampling data from neighboring pixels 2021-08-18 11:24:37 +02:00
Andreas Hocevar 324148c606 Add more docs 2021-08-18 11:24:37 +02:00
Andreas Hocevar 283aed2dc9 Better docs 2021-08-18 11:24:34 +02:00
Andreas Hocevar 05e0fb1bf7 Mix Geotiffs with arbitrary bands and resolutions 2021-08-18 11:24:29 +02:00
Andreas Hocevar fd43b00118 Premultiply alpha for transparent tile sources 2021-08-18 11:24:25 +02:00
Tim Schaub af80477c1d Rendering raster tiles with WebGL 2021-08-18 11:24:23 +02:00
Simon Seyock bf9ca7f3d1 Add change:layers event. 2021-07-23 13:03:57 +02:00
Andreas Hocevar e9e664f3c9 Add typed signature for Observable#un() 2021-07-10 11:28:50 +02:00
Simon Seyock d914006d51 Add signatures for once. 2021-07-10 11:28:49 +02:00
Simon Seyock 1870a64984 Add CombinedOnSignature. 2021-07-10 11:28:49 +02:00
Simon Seyock 7fc664c3fe sources and layers. 2021-07-10 11:28:48 +02:00
Simon Seyock c8f43050c4 Revert "Merge pull request #12416 from ahocevar/eventtype-generics"
This reverts commit b6c143deb2, reversing
changes made to 7777821df5.
2021-07-10 11:28:46 +02:00
Andreas Hocevar 79f5f46d27 Remove lint 2021-06-28 18:10:51 +02:00
Andreas Hocevar b6c143deb2 Merge pull request #12416 from ahocevar/eventtype-generics
Use generics to limit event types in on(), once() and un()
2021-06-21 09:36:25 +02:00
Andreas Hocevar 4dd75d75e3 Merge pull request #12414 from ahocevar/change-event-type
Replace getChangeEventType() with add/removeChangeListener methods
2021-06-21 08:04:23 +02:00
Andreas Hocevar 018ad97f25 Use generics to limit event types in on(), once() and un() 2021-06-20 22:25:47 +02:00
Andreas Hocevar 343e0ffce9 Replace getChangeEventType() with add/removeChangeListener methods 2021-06-19 23:16:26 +02:00
Tim Schaub 2e4b2e10ab Fix additional doc links 2021-06-17 21:59:51 -06:00
Simon Seyock a211666fd8 Added generic source option to layer option types 2021-06-17 18:54:28 +02:00
Andreas Hocevar 8520a18eae Merge pull request #12219 from ahocevar/object-properties
Add 'properties' to Layer constructors
2021-06-17 08:44:53 +02:00
MoonE da845c71c8 Merge pull request #12284 from MoonE/layer-group-inherit-zindex
Layers should inherit group z-index
2021-06-17 00:01:09 +02:00