Andreas Hocevar
609bd23eff
Merge pull request #7339 from ahocevar/text-stroke
...
Use correct text stroke on HiDPI devices
2017-10-10 07:40:29 +02:00
Tim Schaub
88ca77b8c7
Set time and handle frame animation in raster source
2017-10-09 18:24:15 -06:00
Tim Schaub
55b5d0c719
Merge pull request #7327 from tschaub/tile-management
...
Prune the tile cache after updating a source's URL
2017-10-09 17:01:12 -06:00
Tim Schaub
5558994827
Merge pull request #7333 from waxenegger/pluggable_calling
...
Pluggable Map/Layers - function calls to handles and create
2017-10-09 16:59:59 -06:00
Andreas Hocevar
02e23e3cd0
Take pixel ratio into account for text stroke
2017-10-09 18:51:45 +02:00
Tim Schaub
9b8232f65b
Merge pull request #7329 from tschaub/attribution
...
Reworked attribution handling
2017-10-09 08:26:30 -06:00
Andreas Hocevar
590dd6f1cf
Always create a new blank image to avoid CSP violations
2017-10-09 12:46:34 +02:00
Harald Waxenegger
01b17de36d
access functions via bracked/string to avoid compilation mangling
2017-10-09 15:23:56 +10:00
Tim Schaub
b94b8cc40d
Add deprecation notes for ol.Attribution
2017-10-08 20:29:12 -06:00
Tim Schaub
2dd8fdb5b7
Reworked attribution handling
2017-10-08 20:29:02 -06:00
Tim Schaub
bedec9d596
Consistent use of ol.tilecoord.getKeyZXY()
2017-10-08 09:08:20 -06:00
Tim Schaub
dbaf24ec39
Get rid of unnecessary coord key prefix
2017-10-08 09:08:20 -06:00
Tim Schaub
c96c9cfc6d
Prune all except for the most recent z on URL change
2017-10-08 09:08:14 -06:00
Tim Schaub
c692b98fa9
Maintain rendering order in the LRU cache
2017-10-08 08:51:09 -06:00
Tim Schaub
9fb7778156
Functions to get key from coord and coord from key
2017-10-08 08:50:19 -06:00
Tim Schaub
177156c293
Method for peeking at the newest cache entry key
2017-10-08 08:43:53 -06:00
Tim Schaub
10af59bfce
Allow items to be removed from the cache
2017-10-08 08:42:10 -06:00
Tim Schaub
ad4a258c87
Only clear the canvas when needed
2017-10-06 09:12:52 -06:00
Frederic Junod
dfe9e9b59a
Add new ol.format.filter.Contains spatial operator
2017-10-06 08:45:17 +02:00
Trevor Blades
62461bc1d2
Enable mouse wheel in freehand draw mode
...
Previously, events weren't being propagated if the active draw
interaction had its `freehand` property set to true. This means that
you can't use your mouse wheel to zoom the map in freehand mode.
This change sets the default `pass` value to true and adds additional
logic to determine when it should be set to false (and stop event
propagation).
2017-10-03 16:22:08 -07:00
Kogis IWI
232f56e229
Fix #7304 : Re-calculate the resolution when the WMS source is reprojected
2017-10-03 17:25:44 +02:00
Andreas Hocevar
fdacd368f7
Fix multipoint instruction set
2017-09-29 13:17:07 +02:00
Tim Schaub
8354d5f0a6
Merge pull request #7267 from tschaub/fade
...
Render tiles with an opacity transition
2017-09-27 19:51:55 -07:00
Tim Schaub
68a1a497b0
Don't look for alt tiles if alpha is 1
2017-09-27 11:55:45 -06:00
Tim Schaub
3161e5bbaf
Back to 250 ms for the transition
2017-09-27 11:55:45 -06:00
Tim Schaub
8033e25663
Vector tile rendering requires canvas to be cleared
2017-09-27 11:55:45 -06:00
Tim Schaub
79e9dc8128
Render the view resolution tiles last
2017-09-27 11:55:45 -06:00
Tim Schaub
0f53d04361
Only clear canvas when necessary, add tests
2017-09-27 11:55:45 -06:00
Tim Schaub
ecc2a9059e
Check for alt tiles when in transition, always prefer higher z
2017-09-27 11:55:45 -06:00
Tim Schaub
f7bfee8497
Ensure tile transitions complete
2017-09-27 11:55:45 -06:00
Tim Schaub
16e6d13700
Make tile transitions configurable
2017-09-27 11:55:45 -06:00
Tim Schaub
76726a3a6f
Render tiles with an opacity transition
2017-09-27 11:55:45 -06:00
Andreas Hocevar
325fac6886
Consider polygon labels only when they fit the intersection length
2017-09-27 18:06:30 +02:00
Andreas Hocevar
7a3e11b9e4
Change getInteriorPoint type to XYM with intersection length as M
2017-09-27 18:06:05 +02:00
Andreas Hocevar
ca11fd00c1
Fix vertical stroke/fill alignment for text along lines
2017-09-24 22:54:45 +02:00
Tim Schaub
3a8c873fa1
Convert pointerId to string for object lookups
2017-09-23 09:56:04 -06:00
bartvde
bbde224f50
Add ability to change the loader of a vector source
2017-09-20 11:31:11 +02:00
Frédéric Junod
510043d304
Merge pull request #7259 from fredj/missing_doc_param
...
Add missing param doc tag for ol.format.WKT.prototype.writeFeatures
2017-09-19 08:20:03 +02:00
Frederic Junod
b200438a16
Add missing param doc tag for ol.format.WKT.prototype.writeFeatures
2017-09-15 08:55:58 +02:00
Andreas Hocevar
010dd87d49
Revert "Merge pull request #7098 from ahocevar/no-math-round"
...
This reverts commit 5b75666755 , reversing
changes made to ff9ef481db .
2017-09-15 08:39:05 +02:00
Frederic Junod
f0fd866eaf
Add a deprecated warning in abstract filter classes
2017-09-13 16:31:08 +02:00
Frederic Junod
6ed414e8f7
Add missing 'abstract' tag in ol.format.filter classes
2017-09-13 16:20:45 +02:00
Tino Desjardins
e63214a2cc
Mark ol.format.filter.Spatial as abstract class
...
Add missing abstract class description for class ol.format.filter.Spatial like in all other abstract classes.
2017-09-13 16:20:45 +02:00
Bin Wang
e32e72f1a0
fix osmxml to read ways before the definition of nodes
2017-09-13 11:27:51 +08:00
Andreas Hocevar
b920b78afe
Merge pull request #7236 from KlausBenndorf/cloneImage
...
reusing images in ol.style.Icon#clone
2017-09-12 13:15:04 +02:00
simonseyock
f73cda8ef5
reusing images in ol.style.Icon#clone
2017-09-12 11:58:38 +02:00
Andreas Hocevar
f5277c091b
Merge pull request #7239 from ahocevar/linestring-text
...
Render text along lines
2017-09-12 11:42:35 +02:00
Andreas Hocevar
e2ebd05624
Use a stricter type for chars_
2017-09-12 11:27:26 +02:00
Andreas Hocevar
8573a7ba64
Only set LOADED state when all source tiles loaded successfully
2017-09-11 23:23:54 +02:00
Andreas Hocevar
b65c6f7e8e
Use ERROR instead of EMPTY state when source tiles have ERROR state
2017-09-11 22:15:42 +02:00