Andreas Hocevar
aba1045304
Improve API docs for ol.VectorTile
2017-08-03 10:30:24 +02:00
Andreas Hocevar
d4d371a4c2
Remove the tilePixelRatio option from ol.source.VectorTile
2017-08-03 00:20:29 +02:00
Andreas Hocevar
b3be7e7ba9
Get tilePixelRatio from MVT tiles
2017-08-02 20:11:14 +02:00
Andreas Hocevar
7739239e89
Make VectorTile source work with multiple layers
2017-07-09 14:08:08 +02:00
Andreas Hocevar
a0e0e76995
Add missing type annotations
2017-07-06 12:31:57 +02:00
Frédéric Junod
aeed1f79bb
Merge pull request #6832 from oterral/fix_5269
...
Force state of error tiles when usInterimTilesOnError is false
2017-05-24 15:27:11 +02:00
oterral
c1abe4a550
Force state of error tiles when usInterimTilesOnError is false
2017-05-22 09:31:07 +02:00
Andreas Hocevar
a9f369479f
Dispose of vector tiles properly
2017-05-17 00:18:46 +02:00
Andreas Hocevar
9af01c515f
Make ol.VectorTile#getFeatures and #getProjection exportable
2017-05-16 22:57:03 +02:00
Andreas Hocevar
785e7135a7
Decouple source and rendered tile grid of vector tile sources
2017-05-09 14:04:04 +02:00
Andreas Hocevar
7db5eea56b
Performance improvement: only create context when it is needed
2017-02-14 22:20:38 +01:00
Guillaume Beraudo
c16cc286cd
Prefer @override in the case there is no other annotations
...
See
https://github.com/google/closure-compiler/wiki/Annotating-JavaScript-for-the-Closure-Compiler#override
2017-01-31 09:31:34 +01:00
Frederic Junod
d59224f5eb
Add missing override and inheritDoc jsdoc tags
2017-01-30 17:16:01 +01:00
Tim Schaub
895a506025
Remove state enum from tile constructor
2016-12-27 10:17:26 -07:00
Andreas Hocevar
0d65d1d813
Remove support for skipped features
2016-12-06 08:47:41 +01:00
Tim Schaub
a20bd72aa9
Move loader functions and response handlers to tile module
2016-11-11 05:35:20 -07:00
Tim Schaub
b829471c85
Move default tile load function to tile module
2016-11-11 05:04:36 -07:00
Tim Schaub
9e4d80b459
Move State to ol.Tile
2016-08-12 10:53:49 -06:00
Tim Schaub
274b7285f3
Assorted missing requires
2016-08-12 10:53:48 -06:00
Tim Schaub
907a65ab83
Remove unused goog.require() calls in the source
2016-08-08 09:58:10 -06:00
Frederic Junod
e289bfbb7d
Use ol.inherits instead of goog.inherits
2016-06-08 08:38:12 +02:00
Peter Robins
535e8f5e35
Move top-level typedefs to typedefs.js
...
With one exception, those directly in the `ol` namespace can be moved without problem.
Some left-over goog.requires are also removed.
2016-05-11 17:18:05 +00:00
Peter Robins
f57065c412
Remove unneeded goog.provides/requires for typedefs
...
In general, typedefs do not need and should not have goog.require/provide
2016-05-09 13:21:25 +00:00
Andreas Hocevar
f7147960a9
Add render options for vector tile layers
2016-04-19 13:04:38 +02:00
Andreas Hocevar
3164dc874e
Add missing setProjection function to ol.VectorTile API
2016-03-10 19:50:30 +01:00
Andreas Hocevar
483376deb2
Untangle vector tile feature reprojection
2016-01-27 00:42:51 +01:00
Andreas Hocevar
d6a8c9465e
Make pixel projection handling work in compiled mode
...
The compiler seems to have trouble with functions that can run with
different 'this' types. By moving the units handling to the callback, this
issue can be avoided.
2016-01-15 20:59:16 +01:00
Tim Schaub
13a981c94b
Fewer blank lines
2016-01-11 22:03:23 -08:00
Tim Schaub
3cf8618fc7
Prefer single line assignment to 80 character limit
2016-01-11 18:56:08 -08:00
Tim Schaub
e6f6dcc230
Partial valid-jsdoc corrections
2016-01-11 18:56:08 -08:00
Andreas Hocevar
c1b16217f2
Conditionally render tiles to a separate tile canvas
...
Because clip geometries are anti-aliased in most browsers, there will be tiny
gaps between tiles. If tiles are rendered to a tile canvas which is then drawn
to the map canvas upon composition, these gaps can be avoided. For rotated
views, it is stil necessary to clip the tile, but in this case a 1-pixel
buffer is used.
This change also brings a huge performance improvement for panning, because
the fully rendered tiles can be reused.
Because of the added cost of using drawImage in addition to replaying the tile
replay group, we fall back to directly drawing to the map canvas when the tile
canvas would be too large, or during interaction/animation when resolution or
rotation change.
2015-12-17 00:17:27 +01:00
Andreas Hocevar
a940cdd6a7
Add support for OSM vector tiles
2015-12-07 11:15:25 +01:00
Andreas Hocevar
5832943773
Make changes suggested during the review
2015-10-28 10:29:04 +01:00
Andreas Hocevar
9df280a884
Handle dirty tiles properly
2015-10-28 10:29:02 +01:00
Andreas Hocevar
63629e1ee2
Add tile error handling
2015-10-28 10:29:01 +01:00
Andreas Hocevar
dbedbc19ee
Create replay group for the tile's native resolution only
2015-10-28 10:29:01 +01:00
Andreas Hocevar
7d3fc3ccc7
Add VectorTile layer, source and tile
2015-10-28 10:29:01 +01:00