Commit Graph

13230 Commits

Author SHA1 Message Date
mike-000
d824475305 set initial style after document.createElement 2021-08-16 10:27:41 +01:00
mike-000
78c105e838 set canvas style to override problem 3rd party css
move typecast for simplicity
2021-08-15 23:14:41 +01:00
Tim Schaub
08583b4a41 Add more alternative identifiers for EPSG:4326 2021-08-08 12:15:52 -06:00
Tim Schaub
73bb89f196 Add another alternative identifier for EPSG:3857 2021-08-08 12:13:19 -06:00
Maximilian Krög
2bcd57193d Don't add color as possible type if it was not set 2021-08-08 15:30:57 +02:00
Tim Schaub
c1f4749e4d Merge pull request #12605 from simonseyock/typings
Some typing improvements
2021-08-06 11:57:34 -06:00
Tim Schaub
687219a089 Merge pull request #12600 from simonseyock/attributions-public
Make attribution getters public.
2021-08-06 11:50:12 -06:00
Simon Seyock
f636d68cce Fix typing errors. 2021-08-06 17:14:17 +02:00
Simon Seyock
d6e0eb75fa Use Source as default parameter for Layer. 2021-08-06 17:14:17 +02:00
Simon Seyock
d7b443bf44 Make constructor pick up geometry type from properties object. 2021-08-06 17:14:17 +02:00
Simon Seyock
cebaa546b7 Feature.clone returns correct type. 2021-08-06 17:14:17 +02:00
Andreas Hocevar
f8ac74fa1b Merge pull request #12597 from mwerlitz/12596_rastersource_does_not_end_tile_transition
#12596 fix RasterSource does not end Tile transition
2021-08-05 15:19:16 +02:00
mwerlitz
aea11b773c fix whitespace error
Co-authored-by: Andreas Hocevar <andreas.hocevar@gmail.com>
2021-08-05 13:02:26 +02:00
Simon Seyock
6ce7b58020 Make attribution getters public. 2021-08-05 11:04:33 +02:00
Mathias Werlitz
c72a31a226 #12596 fix RasterSource does not end Tile transition 2021-08-04 12:20:42 +02:00
Andreas Hocevar
6bc60f9911 Merge pull request #12575 from ahocevar/raster-events
Add on(), un() and once() signatures for ol/source/Raster
2021-08-01 10:33:19 +02:00
Andreas Hocevar
2038a93880 Add on(), un() and once() signatures for ol/source/Raster 2021-08-01 10:28:02 +02:00
Seba Kerckhof
fec6fee83c Remove color from value type in equal operator 2021-07-28 09:26:29 +02:00
Seba Kerckhof
db57d9bf89 Handle named colors as string in equal operator 2021-07-27 18:54:08 +02:00
Maximilian Krög
e50d5a2197 Add WKB to the exports of ol/format 2021-07-26 09:24:52 +02:00
Simon Seyock
bf9ca7f3d1 Add change:layers event. 2021-07-23 13:03:57 +02:00
Andreas Hocevar
82956aaf5e Merge pull request #12545 from ahocevar/proj4-axis
Restore simple axis order handling with fixed proj4
2021-07-22 18:46:20 +02:00
Andreas Hocevar
a5a156525f Restore simple axis order handling with fixed proj4 2021-07-22 14:20:55 +02:00
Andreas Hocevar
a26fe5f31b Make Raster source work as generics type for Image layer 2021-07-22 12:57:39 +02:00
Andreas Hocevar
8004e0faad Merge pull request #12527 from mike-000/patch-1
Treat custom loaders without success/fail handling as if they were a void loader
2021-07-22 12:39:21 +02:00
Tim Schaub
adff6f0e77 Avoid creating context until needed 2021-07-19 09:08:21 -06:00
mike-000
431beed45f Handle custom loaders without success/fail
Treat custom loaders without success/fail handling as if the were VOID
2021-07-16 20:44:03 +01:00
Tim Schaub
1b9329ea91 Shorter name for the option to create a custom cluster 2021-07-15 21:35:59 -06:00
Maximilian Krög
8f8027c33a Fix adding controls with map config
If a control like ol.control.Bar adds sub controls when added to a map
it fails during map creating because the listeners are added after the control
was added to the map.
2021-07-15 14:19:08 +02:00
Andreas Hocevar
10e38947cc Merge pull request #12487 from Razi91/cluster-feature-fn
Custom cluster feature creation function
2021-07-15 11:30:46 +02:00
Andreas Hocevar
b1385e4175 Merge pull request #12498 from bryantevans00/canvaslayerrenderer-type-parameter
CanvasLayerRenderer: Forward LayerType type parameter to LayerRenderer
2021-07-15 10:34:35 +02:00
jkonieczny
e1b161bbbe remove setter/getter 2021-07-15 09:06:13 +02:00
Daniel Ellmerer
2eb1bf479b VectorEventType: Add 'changefeature' in @typedef
'changefeature' is missing in @typedef - Add it.
2021-07-14 16:35:55 +02:00
Andreas Hocevar
8c0ba8abae Merge pull request #12513 from ahocevar/draw-sketch-point
Draw a sketch point when adding a vertex programmatically
2021-07-13 22:45:31 +02:00
MoonE
f87abdb612 Merge pull request #12507 from MoonE/fix-regular-shape-hit-detect-transparent-fill
Fix regular shape hit detect transparent fill
2021-07-13 17:54:41 +02:00
jkonieczny
a8f7d955af rename to createClusterFeature 2021-07-13 17:27:32 +02:00
Andreas Hocevar
93de780671 Draw a sketch point when adding a vertex programmatically 2021-07-13 16:07:59 +02:00
Andreas Hocevar
7edc016e02 Merge pull request #12509 from ahocevar/listener-return-type
Allow any return type from listener functions
2021-07-13 08:18:25 +02:00
Andreas Hocevar
98e63c4bf1 Allow any return type from listener functions 2021-07-12 23:18:21 +02:00
Maximilian Krög
58e2e57638 Fix hit detection of RegularShape with transparent fill 2021-07-12 19:33:17 +02:00
Maximilian Krög
5f3b22bf7f Remove lineCap, it is useless on closed paths 2021-07-12 19:32:42 +02:00
jkonieczny
9fd25dddbf allow hydrating clustered features 2021-07-12 19:28:00 +02:00
Andreas Hocevar
d7e9cc5285 Fix type of PluggableMap#setTarget() argument 2021-07-12 13:20:10 +02:00
Bryant Evans
709e933799 Forward LayerType type parameter to LayerRenderer 2021-07-12 09:00:20 +00:00
MoonE
7adaf7c1b5 Merge pull request #12442 from MoonE/fix-layer-extent
Fix layer render extent when it is not at all in view
2021-07-11 20:04:45 +02:00
Maximilian Krög
83226cc79a Fix layer render extent when it is not at all in view 2021-07-11 18:27:48 +02:00
Maximilian Krög
f57413fc04 add tests for layer extent config 2021-07-11 18:27:48 +02:00
Maximilian Krög
ad37baf351 Remove redundant size properties / getter 2021-07-11 12:32:04 +02:00
Maximilian Krög
bee28d61ea cache render options object 2021-07-11 12:32:03 +02:00
Maximilian Krög
53cf5bb282 Lazily create Regular shape canvases
Creating the cached canvases is expensive and they may never be used.
E. g. the hit detect canvas is not needed with the Immediate renderer
and if a feature is never in the viewport the image is not needed either.
2021-07-11 12:32:03 +02:00