Andreas Hocevar
6a4d1c9b89
Pass transformed tile coordinates to the tileUrlFunction
2015-06-12 09:45:03 +02:00
Andreas Hocevar
5ae2521724
Make tileCoordTransform configurable
...
Instead of using the static createOriginTopLeftTileCoordTransform
function, the correct transform is now a non-API config option of the tile
grid.
2015-05-31 22:22:41 +02:00
Andreas Hocevar
b05193fa45
Replace ol.tilegrid.XYZ with an ol.tilegrid.createXYZ function
2015-05-05 18:52:33 +02:00
Marc Jansen
99e39fe06e
Add basic documentation to @api symbols
2015-04-17 22:38:29 +02:00
Tim Schaub
b22f3c6829
Use HTTPS where available
2015-04-17 10:30:31 -06:00
Andreas Hocevar
9c415ac9da
Use simple tile sizes for Bing maps by default
2015-04-15 08:12:17 +02:00
Andreas Hocevar
2b75341068
Add support for non-square tiles
2015-04-14 22:54:57 +02:00
Marc Jansen
fb9ba22c30
Add message to assertions.
2015-03-30 22:53:03 +02:00
Andreas Hocevar
3e18b85206
Add ol.source.Tile support for wrapping around the x-axis
2015-03-22 14:27:19 +01:00
photostu
9247dc9f41
bing logo https
...
fix syntax to please Travis
2015-02-05 11:21:13 -05:00
photostu
4080e729df
bing https logo fix
...
If https is missing from bing logo uri, replace
2015-02-05 10:34:33 -05:00
Éric Lemoine
11eeb6617c
Add wrapX option to olx.source.BingMapsOptions
2015-01-16 17:15:59 +01:00
Bart van den Eijnden
ed980e0e73
Add uriScheme parameter to Bing Maps metadata request to avoid mixed content
2014-10-23 21:33:41 +02:00
Éric Lemoine
b0b62c6ac3
Merge pull request #2734 from elemoine/bingmaps
...
Add maxZoom option to BingMaps
2014-09-27 22:34:06 +02:00
Éric Lemoine
23e597eb25
Add maxZoom option to BingMaps
2014-09-22 15:22:31 +02:00
Frederic Junod
0938ab654a
Remove target attribute on attributions link
2014-09-17 11:26:15 +02:00
Éric Lemoine
d71ca642d2
Add @api stable annotations for ol.source.BingMaps
2014-08-22 09:32:14 +02:00
Tim Schaub
ee487ca308
Sources may be configured with a projection, tile grids with an extent
...
An XYZ tile grid is constructed with an extent defining the bounds of the tile grid.
2014-08-19 10:30:27 -06:00
Éric Lemoine
ba035abb1f
Change ol.TileCoord to an Array
2014-08-18 09:33:24 +02:00
Tim Schaub
4cf5ab4620
Use @api annotation instead of @todo api
2014-07-05 15:41:14 -04:00
Peter Robins
41d9f0360a
Add @classdesc to classes
2014-06-09 12:10:19 -04:00
Tim Schaub
015aab8af3
Rename ol.extent.transform to ol.extent.applyTransform
...
This gives more consistency with ol.proj.applyTransform, allowing us to add a more convenient ol.extent.transform method that takes projection-like arguments.
2014-05-02 10:13:28 -06:00
Tim Schaub
cec41c4b0a
Add missing requires
...
Without explicit requires, it is possible that a build would exclude ol.js.
2014-04-30 08:37:52 -06:00
Andreas Hocevar
fbdbbfb7a7
Get rid of stability annotations and document stability with api
...
This change adds a stability value to the api annotation, with
'experimental' as default value.
enum, typedef and event annotations are never exportable, but
api annotations are needed there to make them appear in the
docs.
Nested typedefs are no longer inlined recursively, because the
resulting tables get too wide with the current template.
2014-04-29 09:53:07 -06:00
Andreas Hocevar
c17ac0cae3
Greatly simplify and document the usage of JSDoc
...
This commit simplifies the exports.js plugin so it only relies
on the stability notes to generate the documentation, which
completely decouples it from the exportable API.
As a rule of thumb, whenever something has an 'api' annotation,
it should also have a 'stability' annotation. A more verbose
documentation of ol3 specific annotation usage is available in
the new 'apidoc/readme.md' file.
This commit also modifies all source files to implement these
usage suggestions.
2014-04-29 09:53:06 -06:00
Tim Schaub
fb497f5288
Annotations for exports
2014-04-29 09:53:05 -06:00
Tom Payne
a31ad69ec4
Make tile URL functions more general
2014-04-03 15:12:22 +02:00
Tim Schaub
9ce7d6ea45
Avoid protocol relative URL to support apps using file protocol
2014-03-24 15:46:12 -06:00
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