Commit Graph

2708 Commits

Author SHA1 Message Date
Andreas Hocevar 69ce6975dc Make sure we do not request features for wrapped extent 2017-12-07 00:08:59 +01:00
Andreas Hocevar 046d827784 Make interiorpoint work with donut polygons 2017-12-06 20:23:18 +01:00
Andreas Hocevar 45ae731aa6 Add test 2017-12-06 13:39:35 +01:00
Frédéric Junod 2e2d8ea3d7 Merge pull request #7537 from walkermatt/removeLastPoint
Fix Draw.removeLastPoint exception when no points to remove
2017-12-06 11:51:14 +01:00
Bart van den Eijnden 8afcd1c2ff Merge pull request #7461 from oterral/teo_wmts
Use the matrixSet projection by default
2017-12-05 10:51:11 +01:00
Frederic Junod 14e3fd9214 Fix eslint errors 2017-12-04 10:06:00 +01:00
Alexander Schenkel c7cb26a066 Fixes setUrl() for WMTS sources (ol.source.WMTS)
See Issue #5881: setUrl was inherited from ol.source UrlTile, which creates a wrong tileUrlFunction: The official WMTS URL Template variables were no longer replaced.
2017-12-04 09:11:28 +01:00
Andreas Hocevar 7941a33069 Merge pull request #7372 from notnotse/iconimagecache-setmaxcachesize
Add method to set max cache size in ol.style.IconImageCache
2017-12-01 18:00:36 +01:00
Andreas Hocevar 8a9f32fa09 Rename method and make it appear in the API docs 2017-12-01 17:03:28 +01:00
Matt Walker 90d8224a08 Fix Draw.removeLastPoint exception when no points to remove 2017-12-01 15:50:21 +00:00
Andreas Hocevar 74bf846ffe Add pixel ratio to label cache key 2017-11-30 01:20:49 +01:00
Andreas Hocevar 4e8714d619 Fix tests 2017-11-30 01:03:15 +01:00
Andreas Hocevar 3bb62a2c41 Snap view center to pixel 2017-11-30 01:03:15 +01:00
cs09g 466d63ac41 fix setMinZoom/setMaxZoom
when view has resolutions property, setMinZoom/setMaxZoom doesn't work.
2017-11-28 16:20:26 +09:00
Andreas Hocevar dde81d8585 Add renderMode option to ol.layer.Vector
This also deprecates ol.source.ImageVector.
2017-11-27 09:48:52 +01:00
Andreas Hocevar 674868a683 Deprecate exceedLength and replace with overflow 2017-11-27 09:25:41 +01:00
oterral 9cc7cca447 Fix #6835: doesn't break if Constraint does not exist 2017-11-17 09:00:44 +01:00
Andreas Hocevar 0bf7e95619 Merge pull request #7477 from ahocevar/text-style-keys
Make text states available for replay time
2017-11-16 19:59:45 +01:00
Andreas Hocevar 1aa54b52b0 Merge pull request #7482 from ahocevar/vectortile-unrotate
Reset rotation after rendering
2017-11-16 17:57:01 +01:00
Andreas Hocevar 006f8d49ec Reset rotation after rendering 2017-11-16 17:22:05 +01:00
Andreas Hocevar f1aeb76ce8 Create a new image when loading after an error 2017-11-16 14:45:54 +01:00
Andreas Hocevar 000acfe854 Do not pass inexistent argument 2017-11-16 14:45:54 +01:00
Andreas Hocevar c35789ba73 Add and improve tests 2017-11-16 11:52:26 +01:00
Andreas Hocevar ad8e4debbe Make text states available for replay time 2017-11-16 00:39:27 +01:00
Andreas Hocevar 4b0281bc8a Merge pull request #7454 from ahocevar/text-background-padding
Add text background rendering and text padding
2017-11-15 08:27:38 +01:00
Andreas Hocevar 53b85a9192 Add rendering tests 2017-11-13 13:58:11 +01:00
Andreas Hocevar a77d01945f Merge pull request #7462 from ahocevar/scaleline-meters-per-unit
Respect metersPerUnit in ScaleLine control
2017-11-13 11:39:32 +01:00
Andreas Hocevar 9c45f9a8d6 Respect metersPerUnit in ScaleLine control 2017-11-13 11:09:54 +01:00
oterral 5a252e628b Fix #7460: use the matrixSet projection by default 2017-11-13 11:06:31 +01:00
Tim Schaub a2c5ce6925 Retry if sauce connect fails 2017-11-11 10:54:13 -07:00
Andreas Hocevar 6cc3c47d95 Merge pull request #7440 from ahocevar/font-load
Attempt to make font loading tests more stable
2017-11-10 10:09:42 +01:00
Andreas Hocevar 4324d49813 Attempt to make font loading tests more stable
Also changes things to use setInterval() instead of setTimeout().
2017-11-10 08:34:30 +01:00
Tim Schaub 6668d03122 Add support for hex colors with alpha 2017-11-08 09:53:22 -07:00
Tim Schaub 967118e699 Avoid returning undefined zoom 2017-11-07 18:40:58 -07:00
Tim Schaub dbeef9f73e Use wrapped tile coord for getting feature at coordinate 2017-11-06 10:53:44 -07:00
Tim Schaub 42da3f18dd Keep longitude between -180 and 180 2017-11-06 06:39:17 -07:00
Andreas Hocevar 7f865b8520 Check if fonts are available and redraw when label cache was cleared 2017-11-03 13:04:06 +01:00
Tim Schaub dea8a340a6 Add utility method for extracting font families from a font spec 2017-11-03 12:55:12 +01:00
Andreas Hocevar 431d570b91 Only split text at line angle changes 2017-11-03 11:26:38 +01:00
Frédéric Junod ddba26b193 Merge pull request #7411 from fredj/getset_layers
Add getLayers and setLayers functions to ol.format.WMSGetFeatureInfo
2017-11-03 11:22:29 +01:00
Andreas Hocevar f05511cff7 Merge pull request #7328 from ahocevar/declutter
Declutter text and images
2017-11-03 11:22:08 +01:00
Frederic Junod 8a9d6b417f Add getLayers and setLayers functions to ol.format.WMSGetFeatureInfo 2017-11-03 10:51:25 +01:00
Andreas Hocevar bfebc50a48 Merge pull request #7406 from lasselaakkonen/7390-zoomify-custom-extent
Add option to Zoomify source for setting custom extent
2017-11-03 07:17:22 +01:00
Frédéric Junod 8ef9b8feea Merge pull request #7410 from fredj/getset_getFeatureType
Add getFeatureType and setFeatureType functions to ol.format.WFS
2017-11-01 15:32:25 +01:00
Frederic Junod daea26ec50 Add getFeatureType and setFeatureType functions to ol.format.WFS 2017-11-01 14:07:54 +01:00
Lasse Laakkonen eefb3f9207 Add option to Zoomify source for setting custom extent.
https://github.com/openlayers/openlayers/issues/7390
2017-11-01 00:20:43 +02:00
Andreas Hocevar 29ebdde314 Test decluttering for vector tile layers 2017-10-31 11:33:48 +01:00
Andreas Hocevar 912e908032 Test decluttered hit detection 2017-10-31 11:33:48 +01:00
Andreas Hocevar 22e4ba06a6 Add rendering tests 2017-10-31 11:33:48 +01:00
Andreas Hocevar 5ebc969599 Support line and polygon label points for ol.render.Feature 2017-10-31 11:33:48 +01:00