Frederic Junod
db9c6a99c8
Move olx.source.AttributionOption out of externs/olx.js
2016-04-05 09:15:15 +02:00
Marc Jansen
df4f1c1389
Accept simpler attributions in sources
2016-03-11 09:04:06 +01:00
Sebastian Baumhekel
7fcf2650ee
Allow to refresh a source and reload its data.
...
Provide an API to refresh a source and reload its data in an associated
layer, as for example already loaded tiles in a ol.source.Tile source
are not refreshed. Additionally a test for the new
ol.source.Source.refresh() function is provided.
Currently internal state is not cleaned up, e.g. already loaded tiles
in a `ol.source.Tile` source are still cached and not reloaded at all.
github issue #4867 (https://github.com/openlayers/ol3/issues/4867 )
2016-02-25 08:05:56 +01:00
Petr Sloup
59574da74c
Fix reprojection of raster sources with gutter
2016-02-19 12:17:03 +01:00
Andreas Hocevar
3f2d79b7fe
Replace goog.events.Event/EventTarget system with our own
...
This also removes goog.events.listen, goog.events.unlisten,
goog.events.unlistenByKey and goog.events.BrowserEvent.
2016-02-03 11:19:38 +01:00
Petr Sloup
3607cddcca
Missing parameter description for ol.source.Tile#getOpaque
2016-01-12 09:16:40 +01:00
Tim Schaub
c9e2b384e7
Merge pull request #4602 from tschaub/eslint
...
Use ESLint.
2016-01-12 00:09:15 -08:00
Petr Sloup
2c3ed38714
Fix for reprojecting opaque tile sources
2016-01-12 08:58: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
Petr Sloup
767ac44e99
Make ol.source.Tile#getTilePixelRatio work for all sources
...
Even for sources which serve dynamic tile sizes based on devicePixelRatio
2015-12-28 13:19:03 +01:00
Éric Lemoine
132861e175
Use interim tiles when changing dynamic parameters
2015-11-12 14:40:35 +01:00
Andreas Hocevar
6e2f82c397
Introduce ol.render.Feature
2015-10-28 10:29:02 +01: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
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
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
e14bede9e9
Make projection parameter of ol.source.Tile#getTile no longer optional
2015-10-16 09:28:40 +02:00
Marc Jansen
e1f477ad8c
Remove goog.isNull in source classes
2015-10-01 09:18:52 +02:00
Marc Jansen
bc58c383ba
Replace goog.nullFunction with ol.nullFunction
2015-09-29 16:39:35 +02:00
Tim Schaub
83c59ee255
Inline goog.isDef() calls for properties
2015-09-27 10:40:20 -06:00
Tim Schaub
e3951fa3c6
Inline simple goog.isDef() calls
2015-09-27 10:34:44 -06:00
Andreas Hocevar
da66a37182
Do not require projection extent for x-wrapping tile sources
2015-07-03 11:05:49 +02:00
Petr Sloup
eac5d652cf
Check projection.canWrapX() before wrapping tiles
...
Even if wrapX is true on the source
2015-07-02 15:21:34 +02:00
Andreas Hocevar
af319c259b
Do not transform tile coordinates for tileUrlFunction
2015-06-19 18:34:09 +02:00
Andreas Hocevar
6a4d1c9b89
Pass transformed tile coordinates to the tileUrlFunction
2015-06-12 09:45:03 +02:00
Andreas Hocevar
a116878a57
Allow extents to restrict tile ranges requested from the server
...
The addition of full extent tile ranges also allows us to simplify wrapX
handling for tile layers. By limiting wrapX to true and false as possible
values, we can remove a lot of guessing logic.
2015-05-05 18:52:33 +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
Marc Jansen
99e39fe06e
Add basic documentation to @api symbols
2015-04-17 22:38:29 +02:00
Andreas Hocevar
2b75341068
Add support for non-square tiles
2015-04-14 22:54:57 +02:00
Tim Schaub
cedc78972d
Mark tile load events as stable
2015-04-02 16:23:53 +02:00
Frederic Junod
4bfe49723e
Add missing goog.provide/goog.require ol.source.TileEvent
2015-03-31 15:06:36 +02:00
Andreas Hocevar
4822ca273f
Give tile grids a width
2015-03-24 19:03:09 +01:00
Andreas Hocevar
3e18b85206
Add ol.source.Tile support for wrapping around the x-axis
2015-03-22 14:27:19 +01:00
Frederic Junod
96cb3d314f
Remove unused goog.require
2015-02-20 07:32:55 +01:00
Tim Schaub
733167c612
Merge pull request #3246 from tschaub/tile-cache
...
Avoid creating unnecessary images in tile layers.
2015-02-19 10:33:31 -07:00
Tim Schaub
5cbae8c8f5
Add tile loading events to image tile sources
2015-02-17 11:09:30 -07:00
Tim Schaub
e5432f7cb5
Avoid creating unnecessary images during rendering
2015-02-16 15:11:16 -07:00
Tim Schaub
2cf1fe5552
Create tile cache for all tile sources
2015-02-16 12:22:15 -07:00
Guillaume Beraudo
67f4e9c817
Export constructors of ol.source.Source children
...
Necessary addition to https://github.com/openlayers/ol3/pull/2749 .
2014-09-30 09:33:55 +02:00
Éric Lemoine
cea9bd6a4a
Add @api stable annotations for ol.source.Tile
2014-08-22 10:12:54 +02:00
Éric Lemoine
ba035abb1f
Change ol.TileCoord to an Array
2014-08-18 09:33:24 +02:00
Éric Lemoine
a16a678ca7
Be stricter with types
2014-08-14 10:56:48 +02:00
Petr Sloup
4b24eb6eb2
Added 'state' constructor option to Tile and TileImage sources
2014-08-13 17:11:29 +02:00
Antoine Abt
d50f40dcce
Type check with olx.LogoOptions
2014-07-24 16:40:34 +02:00
Antoine Abt
ba8077010a
Add link support for source logos
2014-07-24 15:22:19 +02:00
Tim Schaub
4cf5ab4620
Use @api annotation instead of @todo api
2014-07-05 15:41:14 -04:00
Tim Schaub
2ec63b6c58
Unnecessary ol.Tile requires
2014-06-27 19:57:54 -04:00