Remove ol.BingMapsStyle
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
goog.require('ol.BingMapsStyle');
|
|
||||||
goog.require('ol.Collection');
|
goog.require('ol.Collection');
|
||||||
goog.require('ol.Coordinate');
|
goog.require('ol.Coordinate');
|
||||||
goog.require('ol.Map');
|
goog.require('ol.Map');
|
||||||
@@ -14,7 +13,7 @@ var layers = new ol.Collection([
|
|||||||
new ol.layer.TileLayer({
|
new ol.layer.TileLayer({
|
||||||
source: new ol.source.BingMaps({
|
source: new ol.source.BingMaps({
|
||||||
key: 'AgtFlPYDnymLEe9zJ5PCkghbNiFZE9aAtTy3mPaEnEBXqLHtFuTcKoZ-miMC3w7R',
|
key: 'AgtFlPYDnymLEe9zJ5PCkghbNiFZE9aAtTy3mPaEnEBXqLHtFuTcKoZ-miMC3w7R',
|
||||||
style: ol.BingMapsStyle.AERIAL
|
style: 'Aerial'
|
||||||
})
|
})
|
||||||
}),
|
}),
|
||||||
new ol.layer.TileLayer({
|
new ol.layer.TileLayer({
|
||||||
|
|||||||
@@ -96,7 +96,7 @@
|
|||||||
@exportObjectLiteral ol.source.BingMapsOptions
|
@exportObjectLiteral ol.source.BingMapsOptions
|
||||||
@exportObjectLiteralProperty ol.source.BingMapsOptions.culture string|undefined
|
@exportObjectLiteralProperty ol.source.BingMapsOptions.culture string|undefined
|
||||||
@exportObjectLiteralProperty ol.source.BingMapsOptions.key string
|
@exportObjectLiteralProperty ol.source.BingMapsOptions.key string
|
||||||
@exportObjectLiteralProperty ol.source.BingMapsOptions.style ol.BingMapsStyle
|
@exportObjectLiteralProperty ol.source.BingMapsOptions.style string
|
||||||
|
|
||||||
@exportObjectLiteral ol.source.DebugTileSourceOptions
|
@exportObjectLiteral ol.source.DebugTileSourceOptions
|
||||||
@exportObjectLiteralProperty ol.source.DebugTileSourceOptions.extent ol.Extent|undefined
|
@exportObjectLiteralProperty ol.source.DebugTileSourceOptions.extent ol.Extent|undefined
|
||||||
|
|||||||
@@ -1,7 +1 @@
|
|||||||
@exportSymbol ol.source.BingMaps
|
@exportSymbol ol.source.BingMaps
|
||||||
@exportSymbol ol.BingMapsStyle
|
|
||||||
@exportProperty ol.BingMapsStyle.AERIAL
|
|
||||||
@exportProperty ol.BingMapsStyle.AERIAL_WITH_LABELS
|
|
||||||
@exportProperty ol.BingMapsStyle.ROAD
|
|
||||||
@exportProperty ol.BingMapsStyle.ORDNANCE_SURVEY
|
|
||||||
@exportProperty ol.BingMapsStyle.COLLINS_BART
|
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
goog.provide('ol.BingMapsStyle');
|
|
||||||
goog.provide('ol.source.BingMaps');
|
goog.provide('ol.source.BingMaps');
|
||||||
|
|
||||||
goog.require('goog.Uri');
|
goog.require('goog.Uri');
|
||||||
@@ -15,18 +14,6 @@ goog.require('ol.source.ImageTileSource');
|
|||||||
goog.require('ol.tilegrid.XYZ');
|
goog.require('ol.tilegrid.XYZ');
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @enum {string}
|
|
||||||
*/
|
|
||||||
ol.BingMapsStyle = {
|
|
||||||
AERIAL: 'Aerial',
|
|
||||||
AERIAL_WITH_LABELS: 'AerialWithLabels',
|
|
||||||
ROAD: 'Road',
|
|
||||||
ORDNANCE_SURVEY: 'OrdnanceSurvey',
|
|
||||||
COLLINS_BART: 'CollinsBart'
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @constructor
|
* @constructor
|
||||||
|
|||||||
Reference in New Issue
Block a user