Tom Payne
33f0024747
Add pixelRatio to ol.TileUrlFunction
2014-01-15 15:53:46 +01:00
Tom Payne
d5c1e53e48
Only support square tiles
2014-01-15 09:45:49 +01:00
Tim Schaub
f78a668ce3
Handle case where resource has no imagery providers
2014-01-10 13:50:51 -07:00
Éric Lemoine
315c42f0a7
Use olx namespace for options types in source code
...
sed command used: find src/ol -name '*.js' -exec sed -ri 's/\{ol(\.(\w|\.)+Options\=?\})/{olx\1/' \{\} \;
2013-12-12 15:02:03 +01:00
Frederic Junod
e508be66d9
Rename ol.source.BingMapsOptions style property to imagerySet
...
To match the Bing Maps terminology
2013-11-13 10:49:17 +01:00
Bart van den Eijnden
8b085514b1
add Terms of Service to the Bing attribution
...
make sure the epsg4326Extent is constructed with the correct arguments
2013-10-31 16:49:46 +01:00
Paul Spencer
bada596b45
Add default stability level to docs of exported things.
2013-10-24 18:20:24 -04:00
Tim Schaub
e70b55b60b
Check resources length of first resource set (see #1149 )
2013-10-21 11:18:24 -06:00
Tom Payne
e4eff4658b
Improve handling of error responses from Bing
...
Previously goog.asserts.assert was used to check that the response was
successful, which are stripped from compiled code. This commit sets the
ERROR state on the source instead.
2013-10-21 12:02:55 +02:00
Tom Payne
167b309242
Replace source ready flag with loading/ready/error enum
2013-09-30 13:30:54 +02:00
Frederic Junod
5a99adfc68
Allow tileLoadFunction override for ol.source.BingMaps
2013-09-24 13:33:01 +02:00
Tom Payne
56e352b7aa
Dispatch change events instead of load events when sources change
2013-09-20 13:37:31 +01:00
Tim Schaub
3b20cc7b53
Rename ol.Projection to ol.proj.Projection
2013-09-15 22:01:56 -06:00
Tom Payne
0235caa1e0
Rename ol.source.ImageTileSource to ol.source.TileImage
2013-09-09 15:09:25 +02:00
Éric Lemoine
3036ee01ad
Be stricter with types in BingMaps
2013-09-07 23:49:37 +02:00
Éric Lemoine
38ab64c3c3
Adapt sources to new signature for ol.Attribution
2013-08-30 16:50:36 +02:00
Frederic Junod
a1a7e21f92
Redefine ol.Size to be Array.<number>
2013-06-01 10:22:06 +02:00
Tom Payne
46553c719c
Rename ol.projection to ol.proj
2013-05-30 18:55:58 +02:00
Tom Payne
20982bba31
Remove unused variables in sources
2013-05-28 16:01:33 +02:00
Tom Payne
65f891a30d
Improve type checking in ol.source.BingMaps
2013-04-30 22:00:22 +02:00
Tom Payne
6976fd96e3
Refactor tile functions
...
* Add support for minZoom in XYZ tile grids and tile sources
* Factor out common tile coordinate transforms
2013-04-29 19:54:26 +02:00
Tom Payne
c2ff8347d9
Port ol.source.BingMaps to new extents
2013-04-19 10:03:34 +02:00
Tom Payne
a537632199
Be more consistent with source options
2013-04-07 11:44:58 +02:00
Tom Payne
4be8c991f7
Add missing Closure Library requires
2013-04-06 14:28:12 +02:00
Tom Payne
5b2cbe76f2
Configure logo for Bing Maps source
2013-04-05 18:12:45 +02:00
Éric Lemoine
e128bab625
Do not pass tile grid to getTile and tileUrlFunc
...
getTile and the tileUrlFunc are functions of the source, so they do need to be passed the tile grid. The tile source knows its tile grid, and can get the projection's tile grid if it doesn't have a tile grid.
2013-04-02 11:12:43 +02:00
Tom Payne
e62178759c
Fix use of this in ol.source.BingMaps
2013-03-24 19:26:34 +01:00
Éric Lemoine
7949cdaa82
crossOrigin defaults to null
2013-03-21 10:37:31 +01:00
Tom Payne
21d34f1cc8
Rename projection functions for a friendlier API
...
The following functions are renamed:
getTransform -> getTransformForProjections
getTransformFromCodes -> getTransform
transform -> transformWithProjections
transformWithCodes -> transform
With this change, the faster functions that avoid projection look-up
have longer names and are used internally, whereas the slower but
friendlier short name functions are available for users.
2013-03-07 13:39:40 +01:00
Tom Payne
afcbec469a
Rename ol.projection.getFromCode to ol.projection.get
2013-03-07 13:29:39 +01:00
Tom Payne
1bac674eca
Merge pull request #263 from twpayne/canvas-renderer-optimizations
...
Canvas renderer optimizations
2013-03-04 15:21:38 -08:00
Tom Payne
fb668a7fc6
Add opaque flag to ol.source.TileSource
2013-03-04 21:07:17 +01:00
Frederic Junod
eec1aec0e6
Remove ol.BingMapsStyle
2013-03-04 15:14:22 +01:00
Tom Payne
fcc620af7d
Separate ol.projection module from ol.Projection class
2013-03-03 13:09:13 +01:00
Tom Payne
e6eb401e36
Add missing goog.requires
2013-01-30 23:47:13 +01:00
Tom Payne
b6f856f962
Remove unused goog.requires
2013-01-30 22:48:03 +01:00
Tom Payne
386bb636bb
Add missing dependencies on goog.array
2013-01-21 14:20:11 +01:00
Tom Payne
9fbabc3696
Refactor attribution control
2013-01-16 16:34:31 +01:00
Tom Payne
97d83666a6
Factor out ImageTile and ImageTileSource
2013-01-11 01:18:57 +01:00
Tom Payne
e5d39724c9
Give each source file a unique name
2012-10-26 11:25:26 +02:00