ahocevar
08be6cf9bc
Set extent berfore features
2019-02-18 11:54:59 +01:00
Frederic Junod
e9ecea3bb7
Remove 'moz' prefix for the Full Screen API
...
Browser support: https://caniuse.com/#feat=fullscreen
2019-02-15 14:37:49 +01:00
Frederic Junod
391dfc5025
Remove vendor prefix for the 'transform' CSS property
...
Browser support: https://caniuse.com/#feat=transforms2d
2019-02-15 14:29:15 +01:00
Andreas Hocevar
a2a3bda5c9
Merge pull request #9221 from ahocevar/remove-unused-sortbyzindex
...
Remove unused sortByZIndex function
2019-02-15 09:45:26 +01:00
Frédéric Junod
f28b7c7bcf
Merge pull request #9220 from fredj/rm_extra_canvas_resize
...
Don't resize/clear the vector renderer canvas
2019-02-15 09:34:57 +01:00
ahocevar
020f513ed5
Remove unused sortByZIndex function
2019-02-14 17:40:38 +01:00
Frederic Junod
30fb0b1ed1
Don't resize/clear the vector renderer canvas
...
Already done in the `renderFrame` function
2019-02-14 13:49:31 +01:00
Frederic Junod
40605d7c53
Don't use loadImage function to avoid infinite loading loop
2019-02-14 13:47:52 +01:00
Frederic Junod
c0a860a31f
Remove unnecessary type cast
2019-02-13 11:42:22 +01:00
ahocevar
3557a13147
Only consider child range with drawable tiles
2019-02-09 19:35:31 +01:00
Frédéric Junod
f6e625f21a
Merge pull request #9197 from fredj/cleanup
...
Remove unused opt_this param
2019-02-08 08:43:31 +01:00
Frederic Junod
6f8ffddace
Remove opt_this param in manageTilePyramid function
2019-02-07 13:18:52 +01:00
Frederic Junod
438736068e
Remove opt_this param in forEach function
2019-02-07 13:07:36 +01:00
ahocevar
703dadfcde
Fix ScaleLine control now that getPointResolution works correctly
2019-02-07 12:26:18 +01:00
ahocevar
fecb8de769
getPointResolution returns proj units
2019-02-07 12:25:37 +01:00
Frederic Junod
2879c0b6ad
Remove opt_this param in forDataAtCoordinate function
2019-02-07 11:51:28 +01:00
Frederic Junod
41d231a4c7
Remove opt_this param in forEachTileCoordParentTileRange function
...
The function is only called by `ol/renderer/canvas/TileLayer` and `opt_this` was always `null`.
2019-02-07 11:43:52 +01:00
Andreas Hocevar
be16c2357d
Merge pull request #9190 from romanzoller/multi-polygon-area
...
Fix MultiPolygon area calculation
2019-02-05 20:43:37 +01:00
Andreas Hocevar
88c213078e
Merge pull request #9179 from gberaudo/allow_image_declutter
...
Allow declutter with image render mode
2019-02-05 20:29:15 +01:00
Roman Zoller
ee57b197e5
Fix offset passed from linearRingssAreOriented to linearRingsAreOriented
...
The offset needs to be set to the end of the previous Polygon,
see `offset = orientLinearRings(...)` in function orientLinearRingsArray
Fixes #9189
2019-02-05 17:56:52 +01:00
Roman Zoller
2c859b1196
Rename misnamed functions in geom/flat/orient
...
- Rename linearRingIsOriented => linearRingsAreOriented
The function checks all linear rings of a Polygon, so
the plural "rings" is more appropriate
- Rename linearRingsAreOriented => linearRingssAreOriented
The double s is appropriate because the check is done for
all Polygons of a MultiPolygon
This commit restores the function names from OpenLayers v4,
they were changed (wrongly IMHO) in #7820 .
2019-02-05 17:49:21 +01:00
Guillaume Beraudo
168edac4a6
Allow declutter with image render mode
...
Using declutter in image render mode is legitimate: each tile is
decluttered, avoiding symbol/text overlaps.
2019-02-05 17:25:00 +01:00
Frederic Junod
ba02320fcc
Remove unused layerState param
2019-02-05 11:46:12 +01:00
Frederic Junod
427c73ddf9
Remove unnecessary type cast
...
`npx tsc` output is the same before and after the changes.
2019-02-05 11:46:12 +01:00
Frédéric Junod
2c3ffdfdf8
Merge pull request #9186 from fredj/cleanup
...
Simplify typing in EsriJSON format
2019-02-05 10:57:36 +01:00
Frederic Junod
97b21145c4
Simplify typing in EsriJSON format
2019-02-05 10:27:26 +01:00
Frederic Junod
0b53a3229b
Remove unneeded type cast
2019-02-04 09:58:49 +01:00
Frederic Junod
5318d52036
Use type template for the source type of layers
2019-02-04 09:58:48 +01:00
ahocevar
47679a9686
Document the correct render events
2019-01-31 14:05:10 +01:00
Andreas Hocevar
b76626071b
Merge pull request #9167 from ahocevar/jsdoc-fixes
...
JSDoc fixes
2019-01-30 12:44:08 +01:00
ahocevar
37eb6de37d
JSDoc fixes
2019-01-30 09:42:20 +01:00
simonseyock
c18a833880
event chain documentation
2019-01-28 20:50:33 +01:00
Frédéric Junod
8674da9a3e
Merge pull request #9157 from fredj/rm_inherits
...
Remove deprecated inherits function
2019-01-28 11:01:07 +01:00
Frederic Junod
1ba85a11e9
Change 'cacheSize' description in typedef
2019-01-25 16:50:17 +01:00
ahocevar
59cf0c31b6
Allow bigger cache now that we do less clipping
2019-01-25 16:50:12 +01:00
ahocevar
4f487c4df1
Update comment
2019-01-25 16:49:35 +01:00
ahocevar
6e58796f66
Do not keep potentially unused tiles in the render queue
2019-01-25 16:49:34 +01:00
ahocevar
26ff8899c3
Do not load new tiles when low on frame budget
2019-01-25 16:49:34 +01:00
Frederic Junod
fe5da2e160
Remove deprecated inherits function
2019-01-25 16:33:02 +01:00
ahocevar
164635f28c
Safer check for window.screen
2019-01-25 12:01:36 +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
Frédéric Junod
ea45068335
Merge pull request #9131 from fredj/opacity_cmp
...
Don't use strict comparison with style.opacity
2019-01-23 08:32:11 +01:00
Tim Schaub
63c079257f
Merge pull request #9013 from weskamm/scalebar
...
Added scalebar option to ol.control.scaleline
2019-01-22 18:04:08 -07:00
Frederic Junod
8dbe8bc34e
Parse the opacity from style as float
2019-01-22 12:48:14 +01:00
Frederic Junod
af8a22d34d
Keep two digits for the opacity value in layer state
2019-01-22 12:47:34 +01:00
ahocevar
e37734826c
Release canvas memory faster
2019-01-21 23:04:31 +01:00
ahocevar
b6d115d868
Make tile cache smaller and screen size dependant
2019-01-21 22:35:48 +01:00
ahocevar
a5d93117ed
Also consider lower resolution tiles as used tiles
2019-01-21 22:34:01 +01:00
Frédéric Junod
2078b5d355
Merge pull request #9129 from fredj/tmp_array
...
Reduce garbage generation
2019-01-21 14:29:44 +01:00