Andreas Hocevar
fcd98774a0
Do not fail when hit detecting features without style
2019-11-14 14:32:11 +01:00
Andreas Hocevar
ac50cc3460
New eslint config with no-multi-assign
2019-11-02 15:20:21 +01:00
Andreas Hocevar
bb2bdb17aa
Render vector tile layers to a single canvas
2019-10-31 20:29:19 +01:00
Andreas Hocevar
4b13c6dae0
Speed up rendering by not using alpha
2019-10-30 14:36:23 +01:00
Andreas Hocevar
90d6a6f441
Move hit detection to its own module
2019-10-14 14:40:06 +02:00
Andreas Hocevar
3c243b0236
getFeature() for VectorTile layer
2019-10-08 08:23:38 +02:00
Andreas Hocevar
e9785317eb
Move hit detection code to Immediate.js
2019-10-08 08:23:38 +02:00
Andreas Hocevar
315695eeb8
New Layer#getFeatures method with fast hit detection for VectorLayer
2019-10-08 08:23:38 +02:00
Tim Schaub
d3b47c794e
Make the immediate API work with a user projection
2019-09-30 08:28:50 -06:00
Andreas Hocevar
838edfa369
Recover from skip feature removal regressions
2019-09-26 16:56:38 +02:00
Tim Schaub
14b931371d
Merge pull request #10000 from KaiVolland/jsdoc-changes
...
Adopt JSDoc annotations to allow '.d.ts' generation
2019-09-25 16:26:24 +02:00
Kai Volland
68c052c9d5
Quote keys of TEXT_ALIGN to avoid minifcation
2019-09-25 15:40:24 +02:00
Olivier Guyot
4ad582ff01
Merge pull request #9986 from mike-000/patch-2
...
Make Circle geometry hit detection consistent with Polygon
2019-09-25 15:38:50 +02:00
Kai Volland
8611475477
Transforms TEXT_ALIGN enum
...
This transforms the TEXT_ALIGN enum to
avoid "empty enum" warning when running jsdoc.
2019-09-25 15:05:39 +02:00
Kai Volland
7c5f144cf4
Removes @fires annotation from LabelCache
2019-09-25 15:04:49 +02:00
mike-000
678f9136c6
Make Circle hit detection consistent with Polygon
...
Fixes one of the inconsistencies seen in #9395
Add hit detection for no fill and transparent fill
Based on the example used in #9395 The tests expect consistency between Polygon and Circle geometries but currently expect the inconsistent behaviour seen when using CircleStyle
2019-09-24 22:06:28 +01:00
Tim Schaub
b1f0b6997b
Additional changes to work with user projection
2019-09-24 19:58:53 +02:00
Simon Seyock
acac7a9403
remove skipFeature logic
2019-09-24 10:12:30 +02:00
ahocevar
bd3f35eef0
Declutter multi geometries per geometry instead of per feature
2019-08-17 23:55:20 +02:00
Andreas Hocevar
ff063caa4e
Merge pull request #9755 from ahocevar/font-loading
...
Font loading improvements
2019-07-15 12:21:28 +02:00
Frederic Junod
ad51c7c08f
Use CanvasLineCap type instead of string
2019-07-05 11:11:35 +02:00
Frederic Junod
7a8a0c18ae
Use CanvasLineJoin type instead of string
2019-07-05 11:07:10 +02:00
ahocevar
5616c535b0
Clean up properly when clearing label cache
2019-07-04 16:10:28 +02:00
ahocevar
ace5c65ee5
Smarter opacity handling
2019-05-22 16:47:23 +02:00
ahocevar
a45e704be2
Smarter reuse detection
2019-05-22 16:46:46 +02:00
Andreas Hocevar
56ec6b093e
Merge pull request #9548 from ahocevar/italic-labels
...
Avoid cut off labels for italic fonts
2019-05-15 16:58:17 +02:00
ahocevar
2e31f716ed
Avoid cut off labels for italic text
2019-05-15 15:01:12 +02:00
Tim Schaub
be8797f355
Merge pull request #9541 from tschaub/rbush-three
...
Upgrade to rbush@3
2019-05-15 04:53:15 -06:00
Frédéric Junod
df37519858
Initialize hitDetectionContext to null
...
Co-Authored-By: Andreas Hocevar <andreas.hocevar@gmail.com >
2019-05-15 10:03:43 +02:00
Frederic Junod
10c6009ffa
Lazily create the hit detection context
2019-05-15 09:52:57 +02:00
Tim Schaub
09fdd30876
Upgrade to rbush@3
2019-05-14 18:43:08 -06:00
ahocevar
12289b8ef9
Declutter in correct order and for all layers
2019-05-05 12:20:38 +02:00
ahocevar
461256767e
Make pattern fills work on a scaled canvas
2019-03-20 22:25:25 +01:00
ahocevar
b33ceaa400
More efficient default fill color
2019-03-19 13:57:10 +01:00
ahocevar
5857117625
Remove unused ExecutorGroup methods
2019-03-16 21:29:49 +01:00
Frederic Junod
6de566d95b
Set the canvas size to 0 on dispose
2019-03-08 13:25:49 +01:00
Frederic Junod
cd28c8a301
Remove unused 'geometry' param from 'createFill' function
2019-02-22 16:52:32 +01:00
Frederic Junod
79c6cc5159
Remove unused 'geometry' param from '{begin,end}Geometry' functions
2019-02-22 16:45:25 +01:00
ahocevar
09a1c1ef1b
Avoid clipping when rendering to tiles that don't exceed the clip extent
2019-01-24 09:09:22 +01:00
ahocevar
592b6cf362
Keep track of used labels
2019-01-23 21:52:22 +01:00
ahocevar
e37734826c
Release canvas memory faster
2019-01-21 23:04:31 +01:00
Frederic Junod
89ca596eaf
Reduce garbage generation
2019-01-21 10:18:19 +01:00
ahocevar
5389e9675c
Faster extent calculation with less garbage
2019-01-15 00:30:39 +01:00
Olivier Terral
6858a5cde7
Fix module name
2018-12-14 08:57:00 +01:00
Frédéric Junod
e426af29c2
Merge pull request #9056 from fredj/rm_typecast
...
Remove typecast for object literals
2018-12-12 16:25:41 +01:00
Frederic Junod
39a21f177d
Use FeatureLike typedef
2018-12-12 15:03:54 +01:00
Frederic Junod
056568c936
Remove type cast in ol/render/canvas/TextBuilder
2018-12-12 14:47:46 +01:00
Andreas Hocevar
0cda18f58a
Merge pull request #9008 from ahocevar/decouple-group-creation
...
Decouple render instruction creation from rendering
2018-12-07 14:33:54 +01:00
Frederic Junod
b3520f8217
Remove CANVAS_LINE_DASH from ol/has
...
Test if `context.setLineDash` is defined instead.
2018-12-07 13:15:23 +01:00
Niklas Alt
4bc9216e41
Add ': void' to non returning functions (error TS7014)
2018-12-06 19:57:45 +01:00