Andreas Hocevar
a940cdd6a7
Add support for OSM vector tiles
2015-12-07 11:15:25 +01:00
Frederic Junod
51b62fb188
Improve ol.source.WMTS.optionsFromCapabilities jsdoc layout
2015-11-30 12:39:24 +01:00
Frederic Junod
8d72589743
Remove use of goog.object.containsKey
2015-11-24 10:17:01 +01:00
Frederic Junod
aef097e348
Check ol.source.UrlTile#urls property for null value
...
Fixes #4446
2015-11-18 11:30:14 +01:00
Andreas Hocevar
fabda7c4b2
Improve ol.source.StaticImage
...
Brings back the imgSize property, and puts all image load handler
code in a single listener.
2015-11-16 11:55:10 +01:00
Andreas Hocevar
f86a7455c4
Merge pull request #4415 from ahocevar/fix-imagesize
...
Scale StaticImage image to imageExtent
2015-11-13 13:15:46 +01:00
Andreas Hocevar
6280b35035
Scale StaticImage image to imageExtent
...
The imageSize property was only used to determine the scale. It's usage was
never documented nor tested nor shown in an example, so I removed it because I
considered its presence a bug.
2015-11-13 12:23:31 +01:00
Andreas Hocevar
152dc6e5d0
Remove ol.ImageUrlFunction
...
This was only used in ol.source.ImageMapGuide, and added unnecessary
overhead there.
2015-11-13 11:27:44 +01:00
Éric Lemoine
f5a148e6b3
Merge pull request #4389 from elemoine/dynamic-params
...
Smooth transitions on parameter changes
2015-11-13 08:41:42 +01:00
Andreas Hocevar
70d376f215
Merge pull request #4412 from ahocevar/revert-4344
...
Revert "Merge pull request #4344 from bartvde/issue-2844"
2015-11-12 19:36:27 +01:00
Andreas Hocevar
c5f4710b8d
Revert "Merge pull request #4344 from bartvde/issue-2844"
...
This reverts commit e5c44b37c9 , reversing
changes made to 7f4c6e3634 .
2015-11-12 19:17:07 +01:00
Andreas Hocevar
ce5ab5b59c
Use ratio when calculating width and height
2015-11-12 18:10:10 +01:00
Éric Lemoine
0f70a21ba6
Implement getKeyParams in ol.source.WMTS
2015-11-12 14:40:36 +01:00
Éric Lemoine
132861e175
Use interim tiles when changing dynamic parameters
2015-11-12 14:40:35 +01:00
Frederic Junod
eb762b6f4a
Update getExtent return value jsdoc tag
...
The extent is never `null`; if the source is empty, the extent is
`[Infinity, Infinity, -Infinity, -Infinity]`
2015-11-02 16:30:54 +01:00
Bart van den Eijnden
979342091a
Support different resolutions in x and y direction for ol.source.ImageStatic
2015-10-30 19:27:31 +01:00
Andreas Hocevar
40c1a6d112
Check view extent within image extent
2015-10-28 23:58:00 +01:00
Andreas Hocevar
5832943773
Make changes suggested during the review
2015-10-28 10:29:04 +01:00
Andreas Hocevar
2b2ac47b1f
Remove ol.source.TileVector
2015-10-28 10:29:04 +01:00
Andreas Hocevar
80fa26ddd8
Reduce the use of goog.*
2015-10-28 10:29:03 +01:00
Andreas Hocevar
4784b7f2e2
Handle urls and templates in ol.source.UrlTile
...
This makes url templates available for ol.source.VectorTile.
2015-10-28 10:29:03 +01:00
Andreas Hocevar
af69933c64
Enable wrapX by default
2015-10-28 10:29:03 +01:00
Andreas Hocevar
8e9b20db51
Additional tests, documentation and example
2015-10-28 10:29:02 +01:00
Andreas Hocevar
6e2f82c397
Introduce ol.render.Feature
2015-10-28 10:29:02 +01:00
Andreas Hocevar
7d3fc3ccc7
Add VectorTile layer, source and tile
2015-10-28 10:29:01 +01:00
Andreas Hocevar
fa88b578a4
Create ol.source.UrlTile
2015-10-28 10:29:01 +01:00
FRizZL
a60a7f7c09
Add wrapX override support for ol.source.Cluster
...
It was not possible to override the wrapX option for the cluster source.
This commit adds that functionality.
2015-10-27 08:26:52 +01:00
Frederic Junod
a84db3add6
Remove jshint -W069 tags in source code
...
The check in already disabled in .jshintrc
2015-10-21 16:15:54 +02:00
Petr Sloup
8fb1d1f244
Remove usage of various goog.* functions
...
goog.isNull, goog.isDefAndNotNull and goog.array.*
2015-10-16 09:28:43 +02:00
Petr Sloup
0f09607725
Slightly decrease build size when reprojection code is disabled
2015-10-16 09:28:43 +02:00
Petr Sloup
94caa07168
Minor code style, documentation and typo fixes
2015-10-16 09:28:43 +02:00
Petr Sloup
5388f96551
Reproject image sources only if actually needed
2015-10-16 09:28:42 +02:00
Petr Sloup
59bce75d2a
Improved documentation
2015-10-16 09:28:42 +02:00
Petr Sloup
3cc8291df4
Support pixelRatio during reprojection
2015-10-16 09:28:41 +02:00
Petr Sloup
c2b21985f4
Add ol.source.TileImage#setTileGridForProjection method
2015-10-16 09:28:41 +02:00
Petr Sloup
168b675191
Add reprojectionErrorThreshold option to the tiled image sources
2015-10-16 09:28:41 +02:00
Petr Sloup
8b38928aad
Make rendering of reprojection edges configurable
2015-10-16 09:28:41 +02:00
Petr Sloup
0f408e341f
Rename ol.source.Image#getImage implementations to #getImageInternal
...
This allows for the reprojection to be initialized in the #getImage,
while #getImageInternal is used to obtain the actual data.
2015-10-16 09:28:41 +02:00
Petr Sloup
be0a0de759
Integrate image reprojection with ol.source.Image
2015-10-16 09:28:41 +02:00
Petr Sloup
15575288e0
Add ol.ENABLE_RASTER_REPROJECTION define
2015-10-16 09:28:41 +02:00
Petr Sloup
f2f77091ad
Handle tile sources without projection
...
Such sources should never be reprojected (and no additional tilecache or
tilegrid should be created).
2015-10-16 09:28:41 +02:00
Petr Sloup
b0694c1e3b
Add projection parameter to ol.source.Tile#expireCache and #useTile
...
This is required to be able to determine which cache the xyz coordinates
refer to (in case we have more caches).
2015-10-16 09:28:41 +02:00
Petr Sloup
e0cfa1951a
Add projection parameter to ol.source.Tile#forEachLoadedTile
2015-10-16 09:28:41 +02:00
Petr Sloup
3f567b0bf0
Use per-projection tilecaches and tilegrids (persistent instances)
2015-10-16 09:28:40 +02:00
Petr Sloup
e14bede9e9
Make projection parameter of ol.source.Tile#getTile no longer optional
2015-10-16 09:28:40 +02:00
Petr Sloup
b221e1ac1f
Basic integration of raster reprojection for tiled sources
...
To allow for easier testing and debugging
2015-10-16 09:28:40 +02:00
Julien Enselme
475504cd85
Add parser for dimension property from WMTS Capabilities.xml
...
- Correct parsing of dimension in ol.source.WMTS.optionsFromCapabilities
2015-10-09 18:43:26 +02:00
Guillaume Beraudo
b092bce4ff
Remove goog.string.startsWith
...
Replace with simple indexOf test
2015-10-01 14:00:42 +02:00
Marc Jansen
e1f477ad8c
Remove goog.isNull in source classes
2015-10-01 09:18:52 +02:00
Andreas Hocevar
8813180d41
Merge pull request #4187 from ahocevar/dashy-tileurl
...
Fix {-y} template calculation for custom (TMS) tile grids
2015-10-01 08:11:05 +02:00