Commit Graph

9321 Commits

Author SHA1 Message Date
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
Andreas Hocevar 94a4554083 Find longest straight chunk when textAlign is not set 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
Andreas Hocevar 37dcd79a86 Add placement, maxAngle and exceedLength options to ol.style.Text 2017-09-11 15:51:06 +02:00
Andreas Hocevar b03bb2c2ce Merge pull request #7234 from ahocevar/tileload-events
Fix abort handling of tileload events
2017-09-08 07:13:28 +02:00
Andreas Hocevar dde9fb5bc4 Fix abort handling of tileload events 2017-09-08 06:50:55 +02:00
Andreas Hocevar 416f7156e8 Merge pull request #7221 from thhomas/zoomify-update-iip
update zoomify source to accept tileIndex placeholders and handle iip…
2017-09-07 12:55:13 +02:00
Andreas Hocevar 73e88fc465 Remove unused context handling for ol.Image 2017-09-06 21:13:11 +02:00
Andreas Hocevar c15aa414bd Fix hit detection for image layers 2017-09-06 07:33:07 +02:00
Thomas Tilak c43a46c5b7 update zoomify source to accept tileIndex placeholders and handle iipsource, update tests and examples 2017-09-05 18:27:35 +02:00
Frederic Junod 2b0dfaeaed Change cartodb domain from cartodb.com to carto.com 2017-09-05 07:52:23 +02:00
Tim Schaub d777edcc05 Fast path for parent range when zoom factor is 2 2017-09-02 20:46:51 -06:00
Tim Schaub eb31b75caa Fast path for child range when zoom factor is 2 2017-09-02 20:37:33 -06:00
Tim Schaub f77c9180a0 Merge pull request #7209 from tschaub/work-with-z
Remove grid.getTileRangeForExtentAndResolution()
2017-09-02 15:14:17 -06:00
Andreas Hocevar f99300a83d Merge pull request #7201 from ahocevar/text-renderer
Prerender text to images
2017-09-02 22:57:48 +02:00
Tim Schaub 5e6a4e8cb7 Avoid unnecessary calls to tileGrid.getZForResolution() 2017-09-02 14:34:08 -06:00
Andreas Hocevar 56a7f9f027 Help the compiler understand 2017-09-01 16:44:27 +02:00
Andreas Hocevar ba3570a268 Remove unnecessary array creation 2017-09-01 13:56:14 +02:00
Andreas Hocevar 8f28398684 Merge pull request #7206 from ahocevar/vectortile-load-extent
Only load source tiles that intersect the source tile grid's extent
2017-09-01 12:01:48 +02:00
Andreas Hocevar 040e67d166 Only load source tiles that intersect the source tile grid's extent 2017-09-01 11:27:53 +02:00
Frédéric Junod 53e471fd1f Merge pull request #7194 from fredj/deprecate_deviceorientation
Deprecate ol.DeviceOrientation
2017-09-01 10:16:29 +02:00
bartvde 2d3fa05b91 Use geometry name in WFS updates 2017-09-01 09:00:34 +02:00
Frederic Junod 34428cfea6 Deprecate ol.DeviceOrientation 2017-09-01 08:49:41 +02:00
Andreas Hocevar 0410a32868 Merge pull request #7172 from f7o/ol-source-vectortile-clear
added clear method to vectortile source
2017-08-31 23:01:48 +02:00
Andreas Hocevar 6469d3e864 Handle pixelRatio on replay creation instead of replay 2017-08-31 21:41:07 +02:00
Andreas Hocevar 35bd92b713 Prerender labels and cache them as images 2017-08-31 21:41:07 +02:00
Andreas Hocevar 99d933b66f Fix link handling in KML parser 2017-08-30 08:58:22 +02:00
Andreas Hocevar cf8c72c992 Fix provide/require structure for autogenerated shader files 2017-08-29 23:11:24 +02:00
Bart van den Eijnden 09e9759753 Merge pull request #7133 from Sol1du2/issue/6991/WFSWriteDimension
Issue/6991/WFS Write Dimension
2017-08-29 09:57:44 +02:00
Bart van den Eijnden 6726e0a98c Merge pull request #7141 from Sol1du2/issue/6990/WFSReadSrsDimension
Issue/6990/Wfs Read srsDimension
2017-08-29 09:38:12 +02:00
Florian Zouhar bf2ff0ec8e added api annotation 2017-08-29 09:16:15 +02:00
Andreas Hocevar 3cb5060497 Parse PBF directly in ol.format.MVT
This change also fixes a previous issue, where MultiPolygon geometries for
ol.Feature features were never created.
2017-08-29 08:51:06 +02:00
Andreas Hocevar 4b4f383043 Transform tile-pixels coordinates only once
This allows us to simplify the vector tile renderer significantly, because
there are no more coordinates that need special tile-pixel handling.
2017-08-28 19:32:16 +02:00
Florian Zouhar 4476c1bb03 added clear method to vectortile source 2017-08-22 14:28:42 +02:00
Tim Schaub d19dfa0775 Remove unused requires 2017-08-17 14:46:18 -04:00
Andreas Hocevar 5161a99925 Remove ol.ENABLE_WEBGL condition from webgl files 2017-08-17 13:21:53 -04:00
Andreas Hocevar 2a117cce8f Use data URI instead of whole empty image 2017-08-17 10:43:29 -04:00
Joao Gouveia 5fce1b0351 Adds srsDimension to the pos and posList nodes when writing a WFS transaction
The WFS transaction failed if the srsDimension was not present on the
geometries.
Unit tests have been changed to accomodate the srsDimension attribute.
2017-08-17 10:04:16 +02:00
Frederic Junod 456c85979d Export ol.Sphere.getLength and ol.Sphere.getArea 2017-08-17 08:40:36 +02:00
Andreas Hocevar 44558b7c89 Merge pull request #7125 from ahocevar/remove-error-vector-tiles
Do not try to render error tiles from VectorTile source
2017-08-15 16:34:16 -04:00