Commit Graph

2653 Commits

Author SHA1 Message Date
Frédéric Junod 5a6fafd85b Merge pull request #7377 from notnotse/overlay-classname
Add support to specify CSS class name when creating ol.Overlay
2017-10-25 15:32:24 +02:00
Bobo Häggström 7a800d4b39 Add support to specify CSS class name when creating ol.Overlay 2017-10-19 16:06:24 +02:00
Frederic Junod e235c83231 Read 'Abstract', 'AccessConstraints' and 'Fees' in ol.format.OWS 2017-10-19 12:03:02 +02:00
Frederic Junod bcfad6ea8b Remove GeoJSON workaround for GeoServer
See #1569
See https://osgeo-org.atlassian.net/browse/GEOS-5996
2017-10-17 08:32:16 +02:00
Andreas Hocevar c2926df045 Merge pull request #7349 from ahocevar/vectortile-url
Do not use tileUrlFunction for renderer tile coordinates
2017-10-12 07:04:00 +02:00
Andreas Hocevar ffb7d72c90 Do not use tileUrlFunction for renderer tile coordinates 2017-10-11 19:44:08 +02:00
Andreas Hocevar e6534894fd Merge pull request #7305 from oterral/teo_info
Fix #7304: Re-calculate the resolution when the WMS source is reprojected
2017-10-11 17:04:33 +02:00
Andreas Hocevar 380690a6a3 Pre-render text images for configured scale 2017-10-11 15:51:15 +02:00
Andreas Hocevar d0092ecd18 Handle different lineWidth scaling in Safari 2017-10-11 00:40:14 +02:00
Tim Schaub 80dbedf946 Merge pull request #7341 from tschaub/raster-fix
Proper rendering of raster sources when there is a tile transition
2017-10-10 03:31:00 -06:00
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
Andreas Hocevar 1aafd8320d Allow reference image creation without existing reference image 2017-10-09 18:51:57 +02:00
Andreas Hocevar 02e23e3cd0 Take pixel ratio into account for text stroke 2017-10-09 18:51:45 +02: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
Frederic Junod dfe9e9b59a Add new ol.format.filter.Contains spatial operator 2017-10-06 08:45:17 +02: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 0f53d04361 Only clear canvas when necessary, add tests 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
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
bartvde bbde224f50 Add ability to change the loader of a vector source 2017-09-20 11:31:11 +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
Marc Jansen 761f4318bc Merge pull request #7246 from marcjansen/fix-7244
Compare measured lengths with a tolerance
2017-09-12 12:43:07 +02:00
Marc Jansen 2d0805ca54 Merge pull request #7247 from marcjansen/fix-7245
Raise tolerance of rendering tests to pass on Firefox 55 (GNU/Linux)
2017-09-12 12:41:52 +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
Marc Jansen 20e8a26b89 Raise tolerance of rendering tests to pass on Firefox 55 (GNU/Linux) 2017-09-12 09:41:13 +02:00
Marc Jansen 9abfa95735 Compare measured lengths with a tolerance 2017-09-12 09:34:53 +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
Andreas Hocevar 2907fc3297 Remove duplicate test 2017-09-11 22:14:56 +02:00
Andreas Hocevar 85bfeda50e Add rendering tests 2017-09-11 16:54:28 +02:00
Andreas Hocevar abd50b8fcf Utility to get the longest straight chunk of a linestring 2017-09-11 16:54:28 +02:00
Andreas Hocevar efc86d59b0 Implement text rendering along paths
This commit also changes the TextReplay.drawText() signature, and moves
geometry calculation into drawText(). This improves performance where no
text needs to be rendered (TextStyle.getText() == ''), which is used often
in applications.
2017-09-11 16:54:27 +02:00