Commit Graph

254 Commits

Author SHA1 Message Date
Tom Payne
56e352b7aa Dispatch change events instead of load events when sources change 2013-09-20 13:37:31 +01:00
Tom Payne
abaa220314 Use URL instead of Url or url in comments and strings 2013-09-20 12:28:04 +01:00
Tom Payne
a8d9dad552 Merge pull request #1036 from twpayne/async-tile-load
Asynchronos tile URL calculation
2013-09-20 02:23:09 -07:00
Frederic Junod
42f7288d73 Assign function instead of calling it 2013-09-18 17:19:50 +02:00
Tom Payne
f3d5a5c37b Add tileLoadFunction option to ol.source.XYZ 2013-09-18 13:40:07 +01:00
Tom Payne
6896e920f9 Allow tile load function to be overridden 2013-09-18 13:39:42 +01:00
Éric Lemoine
4abdac2abf Merge pull request #1030 from elemoine/touches
Exclude tiles that touches the source extent
2013-09-16 10:00:11 -07:00
Éric Lemoine
4990c797d1 WMTS tiles touching the extent are excluded 2013-09-16 15:53:13 +02:00
Éric Lemoine
832be21c0f WMS tiles touching the extent are excluded 2013-09-16 15:52:52 +02:00
Tim Schaub
f54a54a432 Merge pull request #1029 from tschaub/tilejson-extent
Use proper extent structure for TileJSON.
2013-09-16 06:47:29 -07:00
Tim Schaub
97d614285e New extent structure for TileJSON
The change in e806f51b3d neglected to correct the extent handling for the TileJSON source.
2013-09-15 22:22:20 -06:00
Tim Schaub
9a29c0e22d Rename ol.ProjectionLike to ol.proj.ProjectionLike 2013-09-15 22:01:56 -06:00
Tim Schaub
3b20cc7b53 Rename ol.Projection to ol.proj.Projection 2013-09-15 22:01:56 -06:00
Tim Schaub
e806f51b3d Changing extent structure back to single array: [minX, minY, maxX, maxY]
This means we'll have to have a new structure and new methods for 3D envelopes.
2013-09-15 00:31:32 -06:00
Tim Schaub
75cb19d7e1 Source updates for new extent structure 2013-09-14 21:13:46 -06:00
Tim Schaub
daddc61dc6 Merge pull request #1015 from tschaub/export
Export ol.source.XYZ.prototype.setUrl.
2013-09-11 12:14:07 -07:00
Tom Payne
d1782dc4bb Merge pull request #1012 from twpayne/more-renames
More renames
2013-09-11 11:33:40 -07:00
Tim Schaub
c029e8770c Used in example but not exported (see #1011) 2013-09-11 12:21:27 -06:00
Éric Lemoine
78a3ac46dd Rename options type for ol.source.TileImage 2013-09-11 18:28:03 +02:00
Éric Lemoine
7db1b4b337 Rename file for ol.source.TileImage 2013-09-11 18:28:03 +02:00
Tom Payne
d0216c80cd Rename ol.source.StaticImage to ol.source.ImageStatic 2013-09-11 17:48:49 +02:00
Tom Payne
4542c689e8 Add FIXME about avoiding tile cache clears 2013-09-11 17:12:58 +02:00
Tom Payne
1ef4c379b2 Add ol.source.XYZ#setUrl and friends 2013-09-11 17:12:57 +02:00
Tom Payne
4ef6254c13 Add ol.source.TileImage#setTileUrlFunction 2013-09-11 17:12:57 +02:00
Tom Payne
a21ee997ba Rename ol.source.SingleImageWMS to ol.source.ImageWMS 2013-09-11 16:38:01 +02:00
Tim Schaub
cf37566606 Remove unused require
This was unused before 03f7bb66374b162aab26289b761e7918b79c0ca7 as well.  It would be interesting to see how many other unused requires there are (types that are only referenced in comments but not used in code).
2013-09-11 00:17:02 -06:00
Tim Schaub
843334627e Moving maxZoom default to XYZ source.
No reason this convenience should be restricted to the OSM layer.
2013-09-11 00:17:01 -06:00
Tim Schaub
8d7d1412c9 Adding XYZOptions to objectliterals.jsdoc
I remain uncertain about when to use the @exportClass annotation and when to use the @exportSymbol.  osmsource.exports seems to get away with simply @exportSymbol, but many other sources use @exportProperty.
2013-09-11 00:17:01 -06:00
Tim Schaub
0df6cebff9 minZoom is not a supported property of ol.tilegrid.XYZOptions 2013-09-11 00:17:01 -06:00
Tim Schaub
a6fb72c240 Export XYZ source 2013-09-11 00:17:01 -06:00
Tom Payne
ea653ceec8 Rename tiledwmssource.exports to tilewmssource.exports 2013-09-10 15:53:14 +02:00
Éric Lemoine
762fed6f8d Change Tiled to Tile in a comment 2013-09-10 09:41:38 +02:00
Éric Lemoine
8a7e13a50c Rename tiledwmssource.js to tilewmssource.js 2013-09-10 09:41:38 +02:00
Éric Lemoine
31cc1f5541 More robust coordinate keys for WMTS and TiledWMS
This uses more robust ZXY coordinate keys, and caches the key to avoid creating garbage each time getKeyZXY is called.
2013-09-09 17:01:38 +02:00
Éric Lemoine
0823ee4ad3 Add getDimensions/updateDimensions to WMTS 2013-09-09 17:00:05 +02:00
Olivier Terral
e16de02cb2 Add getParams/updateParams to TiledWMS 2013-09-09 17:00:05 +02:00
Tom Payne
cd0186dde5 Store revision number in sources and update it on changes 2013-09-09 17:00:05 +02:00
Tom Payne
4f27dd35d8 Allow tile cache key calculation to be overridden 2013-09-09 17:00:05 +02:00
Olivier Terral
9fb4514b4e Add getParams/updateParams to SingleImageWMS 2013-09-09 16:50:10 +02:00
Tom Payne
d1659b8e69 Rename ol.source.VectorSource2 to ol.source.Vector2 2013-09-09 15:18:31 +02:00
Tom Payne
8f6f5e42c6 Rename ol.source.TiledWMS to ol.source.TileWMS 2013-09-09 15:12:38 +02:00
Tom Payne
0235caa1e0 Rename ol.source.ImageTileSource to ol.source.TileImage 2013-09-09 15:09:25 +02:00
Tom Payne
bf1d804a5e Rename ol.source.DebugTileSource to ol.source.TileDebug 2013-09-09 15:07:05 +02:00
Tom Payne
71a396a189 Rename ol.source.TileSource to ol.source.Tile 2013-09-09 14:40:23 +02:00
Tom Payne
5967f96047 Rename ol.source.ImageSource to ol.source.Image 2013-09-09 14:33:12 +02:00
Éric Lemoine
02a285665b Remove unneeded FIXME 2013-09-07 23:50:15 +02:00
Éric Lemoine
e01344f0da Be stricter with types in WMTS 2013-09-07 23:50:01 +02:00
Éric Lemoine
3036ee01ad Be stricter with types in BingMaps 2013-09-07 23:49:37 +02:00
ahocevar
3bce782943 Making sure that options are not renamed 2013-09-03 20:02:49 +02:00
Éric Lemoine
38ab64c3c3 Adapt sources to new signature for ol.Attribution 2013-08-30 16:50:36 +02:00