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
Andreas Hocevar
c69cf27218
Trigger change when source tile state changes
...
A VectorImageTile now gets changed() whenever one of its source tiles's state
changes, until all source tiles are LOADED.
2017-08-15 16:12:41 -04:00
Tim Schaub
9277902535
Add a Canvas map
2017-08-15 15:37:37 -04:00
Tim Schaub
8a08ab6463
Correct types
2017-08-15 15:37:37 -04:00
Tim Schaub
8e90976bf2
Indentation fix
2017-08-15 15:37:37 -04:00
Tim Schaub
1a6ea341fe
Pluggable map
2017-08-15 15:37:37 -04:00
Tim Schaub
cada78459f
Only use WebGL renderer if ol.has.WEBGL
2017-08-15 15:37:37 -04:00
Tim Schaub
9271df7e1d
Pluggable renderers
2017-08-15 15:37:37 -04:00
Tim Schaub
940f97e2a7
Make view.animate() tolerate undefined views
2017-08-15 13:28:50 -04:00
Joao Gouveia
f928209256
Fix srsDimension read on GML3 for Geoserver
...
Contrary to Mapserver, Geoserver sets the srsDimension attribute on
the child of the geometry node, not on the points list.
This fix searches that node as well.
A small unit test was also added.
2017-08-15 09:10:17 +02:00
Andreas Hocevar
ee81a5e817
Do not try to render error tiles from source
2017-08-14 10:18:03 -04:00