Andreas Hocevar
8fb6b6b6e6
Fix mockup of tile layer to keep drawImage arguments in range
2016-10-19 19:48:48 +02:00
Marc Jansen
2c200dcf5f
Setup a loaded image with src for TileLayer test
2016-10-19 09:56:16 +02:00
Andreas Hocevar
f23921367b
Use a common origin and resolution factors for tile alignment
2016-10-10 10:25:29 +02:00
Andreas Hocevar
e7bc7121d6
Add option to skip first coordinate for use with closePath()
2016-09-13 02:14:12 +02:00
Andreas Hocevar
129757578d
Do not repeat first vertex when closed is true
2016-09-13 02:13:30 +02:00
Andreas Hocevar
457de34485
Merge pull request #5708 from ahocevar/no-closepath
...
Remove unnecessary closePath() instructions
2016-08-25 17:05:52 +02:00
Andreas Hocevar
65d03bfbfb
Bail out when there is no fill and stroke
2016-08-25 16:40:31 +02:00
Andreas Hocevar
b7c84b269c
Merge pull request #5196 from ahocevar/batch-fill-stroke
...
Batch polygon and circle fills and strokes
2016-08-24 12:02:52 +02:00
Andreas Hocevar
395793b921
Additional tests and code comments
2016-08-24 11:44:15 +02:00
Andreas Hocevar
7e940e618e
Introduce new overlaps option for Vector and VectorTile sources
...
Instead of deciding whether to batch fills and strokes by looking at the
opacity of the style, we now rely on user input.
2016-08-23 12:05:03 +02:00
Andreas Hocevar
eed52552a9
Batch polygon and circle fills and strokes
2016-08-23 12:05:03 +02:00
Andreas Hocevar
208ea171c3
Add test to ensure the correct draw canvas size
2016-08-23 12:01:32 +02:00
Tim Schaub
004cf15222
Add some missing test requires
2016-08-12 10:53:48 -06:00
Tim Schaub
789aeb1c64
Toward a fix for ol.tilegrid
2016-08-08 10:22:28 -06:00
Tim Schaub
c203f6a841
Remove unused requires from tests
2016-08-08 09:58:11 -06:00
Tim Schaub
ed5dbd1293
Put test requires on top
2016-08-08 09:58:11 -06:00
Tim Schaub
424f3e5577
Move renderer files so they are named like their provides
2016-08-07 10:49:11 -06:00
Peter Robins
f8f2cd11d5
Replace goog.getUid with ol.getUid
2016-07-20 11:01:00 +00:00
Andreas Hocevar
6b4ee42c90
Refactor to a more convenient internal API
2016-06-23 13:10:41 +02:00
Andreas Hocevar
cf7ff841a7
Remove use of goog.vec.*
2016-06-23 13:10:41 +02:00
Frederic Junod
4bf1f56405
Add missing semicolon
2016-06-09 15:39:46 +02:00
Andreas Hocevar
ebc28aefd4
Add and fix vectortile tests
2016-04-28 12:57:27 +02:00
Andreas Hocevar
c17e23f2ae
Skip unnecessary render functions
2016-04-28 10:22:20 +02:00
Andreas Hocevar
f7147960a9
Add render options for vector tile layers
2016-04-19 13:04:38 +02:00
Andreas Hocevar
6c7d6817bd
Merge pull request #4854 from ahocevar/fix-select-and-everything-that-relies-on-unmanaged-layers-and-skipped-features-this-time-for-real---hopefully
...
Always report skipped feature hits for the original layer
2016-02-22 09:23:28 +01:00
Andreas Hocevar
5bc00d8535
Continue passing null instead of unmanaged layer to forEachFeatureAtCoordinate
2016-02-17 08:59:45 +01:00
Andreas Hocevar
9f0fefd42d
Hit-detect skipped features, but not on unmanaged layer
2016-02-17 00:54:31 +01:00
Andreas Hocevar
952b99742e
Add tests, remove unused code, encapsulate repeated code in functions
2016-02-15 17:00:06 +01:00
Andreas Hocevar
483376deb2
Untangle vector tile feature reprojection
2016-01-27 00:42:51 +01:00
Tim Schaub
9ae748408a
Statement inside curly braces on its own line
2016-01-11 18:56:06 -08:00
Andreas Hocevar
3413f6d138
Merge pull request #4518 from ahocevar/osm-vector-tiles
...
Add support for OSM vector tiles
2015-12-08 11:01:49 +01:00
Andreas Hocevar
a940cdd6a7
Add support for OSM vector tiles
2015-12-07 11:15:25 +01:00
Éric Lemoine
279eae1dba
Do not ignore layer filter for unmanaged layers
...
PR #3883 made `forEachFeatureAtPixel` ignore unmanaged layers. This commit reverts that change.
2015-11-30 17:53:19 +01:00
Andreas Hocevar
1aea2c2b0c
Pass null as forEachFeatureAtPixel layer arg for unmanaged layers
2015-11-09 09:45:21 +01:00
Andreas Hocevar
8e9b20db51
Additional tests, documentation and example
2015-10-28 10:29:02 +01:00
Pierre GIRAUD
badf14e0f1
forEachFeatureAtPixel shouldn't fail if layer has no source
2015-09-16 13:27:01 +02:00
Frederic Junod
49b8f90e66
Add missing goog.provide
...
The new version of the closure-compiler (version 20150729) wants that all the classes
tagged with `@constructor` to be provided (with `goog.provide`).
2015-08-25 09:26:10 +02:00
Andreas Hocevar
26e146b1d8
Ignore layer filter for unmanaged layers
...
To make unmanaged vector layers work like the removed ol.FeatureOverlay,
the layer filter for ol.Map#forEachFeatureAtPixel needs to ignore unmanaged
layers.
2015-07-07 22:24:57 +02:00
Andreas Hocevar
86d9d691e4
Merge pull request #3806 from ahocevar/clip-wrapx
...
Do not clip canvas for vector layers when wrapping the world
2015-07-03 10:47:45 +02:00
Andreas Hocevar
7463a58066
Do not clip canvas for vector layers when wrapping the world
2015-06-19 14:55:20 +02:00
Andreas Hocevar
f645a9e1e4
Make unmanaged vector layers behave more like ol.FeatureOverlay
...
* Skipped features need to be hit-detected on unmanaged layers.
* updateWhileAnimating and updateWhileInteracting are recommended to
achieve the same instant visual feedback that ol.FeatureOverlay had.
2015-06-19 13:06:29 +02:00
Andreas Hocevar
53d5d8c1d9
Get rid of ol.FeatureOverlay
...
This also introduces a wrapX option to the Draw, Modify and Select
interaction.
2015-06-09 15:44:31 +02:00
Andreas Hocevar
513677fecd
Render map replay group on the correct world instead of wrapping it
...
By using the frameState's focus, we can adjust extent and transform and
render it for the world of interest instead of wrapping it and rendering
for every visible world.
2015-04-22 09:11:19 +02:00
Andreas Hocevar
4f8dca92ba
Ensure functions are always called with the same number of args
2015-04-21 08:21:31 +02:00
Andreas Hocevar
6a2aa833b4
Improve tests for ol.renderer.canvas.VectorLayer
2015-04-19 08:52:26 +02:00
Andreas Hocevar
d5e5628fe1
Add some tests
2015-04-18 19:10:54 +02:00
Stefan Weil
e812f2435e
Fix typos found by codespell
...
Most of them are in comments, some in strings.
Signed-off-by: Stefan Weil <sw@weilnetz.de >
2015-02-12 16:39:55 +01:00
tsauerwein
f4500c8f89
Rename *AtPixel to *AtCoordinate if coordinate
2015-01-30 10:00:37 +01:00
tsauerwein
7feb8b22f6
Rename forEachGeometryAtPixel
2015-01-30 10:00:36 +01:00
Éric Lemoine
ddc51ee267
Unconditionally draw Replay's
2014-12-18 13:04:29 +01:00