mike-000
110c17cf9e
Remove label style caches
2019-10-22 12:04:06 +01:00
mike-000
b727e4f45e
Set label text for option styles
...
Set label text for lonLabelStyle and latLabelStyle options
2019-10-04 22:00:20 +01:00
Maximilian Krög
8fe8302dc2
Remove duplicate type definition for style
2019-10-03 15:45:35 +02:00
Maximilian Krög
b1a9f765fc
Parse the style in the constructor.
...
This detects errors earlier and allows the caller to handle the thrown exception.
Remove assertion 65 as it should no longer be needed.
2019-10-03 14:36:48 +02:00
Frederic Junod
daaaff5ac7
Remove unnecessary typecast
...
Remove typecast where typescript is able to correctly deduce the type.
2019-10-02 10:44:06 +02:00
mike-000
4f83392b76
Remove offsets from mouse position calculation
...
and remove space
2019-10-01 15:55:30 +01:00
mike-000
8a04f5059d
Remove offsets from mouse position calculation
...
Fixes #10073
Remove unneeded offsets from mouse position calculation as box position was centered in #9919
2019-10-01 15:47:36 +01:00
Frederic Junod
41b7893523
Mark properties as nullable
2019-10-01 10:47:07 +02:00
Frederic Junod
89becd4c6d
Remove unused variables
2019-10-01 08:34:00 +02:00
Olivier Guyot
176dccd6df
Merge pull request #10060 from mike-000/patch-1
...
Ensure zoom level is not less than minimum integer zoom level for extent
2019-09-30 17:34:45 +02:00
Tim Schaub
d3b47c794e
Make the immediate API work with a user projection
2019-09-30 08:28:50 -06:00
Simon Seyock
2e1dee1994
fixed jsdoc type annotations
2019-09-29 19:35:11 +02:00
mike-000
eaa5af2c7a
Fix for #10054
...
Ensure zoom level is not less than minimum integer zoom level for extent
2019-09-29 12:00:08 +01:00
Andreas Hocevar
7f8fdd6219
Ensure proper tile load sequence
2019-09-28 15:24:37 +02:00
Andreas Hocevar
70706443f5
Merge pull request #10048 from ahocevar/early-empty-state
...
Early EMPTY state for VectorRenderTile
2019-09-27 22:29:42 +02:00
Andreas Hocevar
47dd60104d
Set EMPTY state of VectorRenderTile early
2019-09-27 19:04:21 +02:00
Tim Schaub
80cf76e783
Merge pull request #10043 from tschaub/snap-geographic
...
User coordinates during snapping
2019-09-27 17:20:16 +02:00
Andreas Hocevar
76af2b6466
Revert "Handle empty source tiles and queue them properly"
...
This reverts commit 818bdc411c .
2019-09-27 16:09:27 +02:00
Frederic Junod
f67476dd8f
Mark properties as nullable
2019-09-27 13:57:59 +02:00
Frederic Junod
0e402073da
Add more typecast for typescript
2019-09-27 13:11:30 +02:00
Tim Schaub
07678d960a
User coordinates during snapping
2019-09-27 11:55:48 +02:00
Frederic Junod
701dc3b54a
Use the right variable to get the hitTolerance value
2019-09-27 11:03:21 +02:00
Frederic Junod
ea88e6cbd4
Remove invalid undefined type in params
2019-09-27 11:01:50 +02:00
Tim Schaub
6a5f6e4363
Merge pull request #10009 from tschaub/modified
...
Geometry editing with a user projection
2019-09-26 20:01:19 +02:00
Andreas Hocevar
ac8f8f4e88
Merge pull request #10024 from ahocevar/focus-condition-target
...
Allow EventTarget to use a different default target
2019-09-26 19:59:27 +02:00
Andreas Hocevar
346130065e
Merge pull request #10031 from flexjoly/upstream
...
Cache starting coordinates and add mapBrowserEvent to translateEvent
2019-09-26 19:41:44 +02:00
flexJoly
391bae35f2
minor fixes
...
and keep original parameters in TranslateEvent the same
2019-09-26 19:30:24 +02:00
Tim Schaub
3c7b129106
User coordinates during drawing
2019-09-26 19:29:19 +02:00
Andreas Hocevar
fd594c2001
Do not remove listeners that do not exist
2019-09-26 19:02:06 +02:00
flexJoly
180e1c86fc
Cache starting coordinates and add mapBrowserEvent to translateEvent
2019-09-26 18:48:51 +02:00
Tim Schaub
e0d24d3af0
User coordinates during modification
2019-09-26 18:46:55 +02:00
Andreas Hocevar
3a10476c1c
Merge pull request #10007 from mike-000/patch-1
...
Changes for #9395 CircleStyle inconsistency
2019-09-26 18:46:24 +02:00
Olivier Guyot
8c19399d0b
Merge pull request #10016 from jahow/webgl-attribute-link
...
WebGL Points Layer: allow expressions in literal style
2019-09-26 18:02:26 +02:00
Andreas Hocevar
899af3e5c7
Allow EventTarget to use a different default target
2019-09-26 17:56:51 +02:00
Andreas Hocevar
86d99fa35c
Merge pull request #10017 from KlausBenndorf/jsdoc-plugin-typescript
...
updated jsdoc-plugin-typescript
2019-09-26 17:55:48 +02:00
Tim Schaub
5d4e77151c
Handle event coordinate in the user projection
2019-09-26 17:24:58 +02:00
Tim Schaub
1e27846d6d
Use user projection for event coordinate
2019-09-26 17:23:39 +02:00
Andreas Hocevar
d8f55ea3f1
Merge pull request #10018 from ahocevar/recover-from-skipfeature-removal
...
Recover from skip feature removal regressions
2019-09-26 17:23:25 +02:00
Simon Seyock
09cad9b5f9
fixed jsdoc problems
2019-09-26 17:00:46 +02:00
Andreas Hocevar
838edfa369
Recover from skip feature removal regressions
2019-09-26 16:56:38 +02:00
Olivier Guyot
09134a6091
Shader builder / typecheck fix for parse fn
2019-09-26 16:30:19 +02:00
Olivier Guyot
28d157af56
Shader builder / add circle and triangle shapes for symbols
2019-09-26 16:30:19 +02:00
Olivier Guyot
9b3a9b5eca
Shader builder / add logic for transforming a style into shader params
...
This was previously handled by the WebGLPointsLayer class, but is now
externalized and tested.
2019-09-26 16:20:35 +02:00
Olivier Guyot
d5caabbbfc
Shader builder / add basic expression parsing
...
Only a handful of expressions for now, very loosely based on the
mapbox style spec. Also only work on numerical values.
2019-09-26 16:20:35 +02:00
Tim Schaub
6ec69abdf6
Fewer type casts, minor changes
2019-09-26 16:15:08 +02:00
Olivier Guyot
b89c1255f7
Canvas vector / Avoid modifying the coordinates array in place
2019-09-26 15:34:31 +02:00
Olivier Guyot
7e4383f554
Webgl renderer / now accepts any kind of layer (not just vector)
2019-09-26 15:33:54 +02:00
Andreas Hocevar
28fb7c5590
Merge pull request #10010 from ahocevar/require-type-and-listener
...
Require type and listener for addEventListener/removeEventListener
2019-09-26 15:29:50 +02:00
mike-000
e28fa56edd
Changes for the CircleStyle inconsistency seen in #9395
...
Change hit detection test to reflect fix for #9395 CircleStyle inconsistency
Update ol/style/Circle and ol/style/RegularShapen tests
Revise test for no fill
Add test for transparent fill
Update Upgrade notes
Changes to hit detection with unfilled styles
2019-09-26 14:27:31 +01:00
Andreas Hocevar
25d9fa1efe
Require type and listener for addEventListener/removeEventListener
2019-09-26 14:58:18 +02:00