Class/Object

cesium

BingMapsImageryProvider

Related Docs: object BingMapsImageryProvider | package cesium

Permalink

class BingMapsImageryProvider extends Object with ImageryProvider

Provides tiled imagery using the Bing Maps Imagery REST API.

alias BingMapsImageryProvider

- The options object takes the following properties - {String} options.url The url of the Bing Maps server hosting the imagery. - {String} [options.key] The Bing Maps key for your application, which can be created at https://www.bingmapsportal.com/ If this parameter is not provided, BingMapsApi.defaultKey is used. If BingMapsApi.defaultKey is undefined as well, a message is written to the console reminding you that you must create and supply a Bing Maps key as soon as possible. Please do not deploy an application that uses Bing Maps imagery without creating a separate key for your application. - {String} [options.tileProtocol] The protocol to use when loading tiles, e.g. 'http:' or 'https:'. By default, tiles are loaded using the same protocol as the page. - {String} [options.mapStyle=BingMapsStyle.AERIAL] The type of Bing Maps imagery to load. - {String} [options.culture= ] The culture to use when requesting Bing Maps imagery. Not all cultures are supported. See for information on the supported cultures. - {Ellipsoid} [options.ellipsoid] The ellipsoid. If not specified, the WGS84 ellipsoid is used. - {TileDiscardPolicy} [options.tileDiscardPolicy] The policy that determines if a tile is invalid and should be discarded. If this value is not specified, a default DiscardMissingTileImagePolicy is used which requests tile 0,0 at the maximum tile level and checks pixels (0,0), (120,140), (130,160), (200,50), and (200,200). If all of these pixels are transparent, the discard check is disabled and no tiles are discarded. If any of them have a non-transparent color, any tile that has the same values in these pixel locations is discarded. The end result of these defaults should be correct tile discarding for a standard Bing Maps server. To ensure that no tiles are discarded, construct and pass a NeverTileDiscardPolicy for this parameter. - {Proxy} [options.proxy] A proxy to use for requests. This object is expected to have a getURL function which returns the proxied URL, if needed.

Annotations
@RawJSType() @native() @JSName( "Cesium.BingMapsImageryProvider" )
Example:
  1. var bing = new Cesium.BingMapsImageryProvider({ url : 'https://dev.virtualearth.net', key : 'get-yours-at-https://www.bingmapsportal.com/', mapStyle : Cesium.BingMapsStyle.AERIAL });

See also

Resource Sharing

Maps REST Services

UrlTemplateImageryProvider

WebMapTileServiceImageryProvider

WebMapServiceImageryProvider

createTileMapServiceImageryProvider

SingleTileImageryProvider

createOpenStreetMapImageryProvider

GoogleEarthImageryProvider

ArcGisMapServerImageryProvider

Linear Supertypes
ImageryProvider, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BingMapsImageryProvider
  2. ImageryProvider
  3. Object
  4. Any
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BingMapsImageryProvider(options: BingMapsImageryProviderOptions)

    Permalink
  2. new BingMapsImageryProvider()

    Permalink
    Attributes
    protected

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. var credit: Credit

    Permalink
    Definition Classes
    ImageryProvider
  7. var culture: String

    Permalink
  8. var defaultAlpha: Double

    Permalink
    Definition Classes
    ImageryProvider
  9. var defaultBrightness: Double

    Permalink
    Definition Classes
    ImageryProvider
  10. var defaultContrast: Double

    Permalink
    Definition Classes
    ImageryProvider
  11. var defaultGamma: Double

    Permalink
    Definition Classes
    ImageryProvider
  12. var defaultHue: Double

    Permalink
    Definition Classes
    ImageryProvider
  13. var defaultSaturation: Double

    Permalink
    Definition Classes
    ImageryProvider
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. var errorEvent: Event

    Permalink
    Definition Classes
    ImageryProvider
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def getTileCredits(x: Double, y: Double, level: Double): Array[Credit]

    Permalink
    Definition Classes
    ImageryProvider
  20. var hasAlphaChannel: Boolean

    Permalink
    Definition Classes
    ImageryProvider
  21. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  25. var key: String

    Permalink
  26. var mapStyle: BingMapsStyle

    Permalink
  27. var maximumLevel: Double

    Permalink
    Definition Classes
    ImageryProvider
  28. var minimumLevel: Double

    Permalink
    Definition Classes
    ImageryProvider
  29. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. def pickFeatures(x: Double, y: Double, level: Double, longitude: Double, latitude: Double): |[Promise[Array[ImageryLayerFeatureInfo]], Unit]

    Permalink
    Definition Classes
    ImageryProvider
  33. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  34. var proxy: Proxy

    Permalink
    Definition Classes
    ImageryProvider
  35. var ready: Boolean

    Permalink
    Definition Classes
    ImageryProvider
  36. var readyPromise: Promise[Boolean]

    Permalink
    Definition Classes
    ImageryProvider
  37. var rectangle: Rectangle

    Permalink
    Definition Classes
    ImageryProvider
  38. def requestImage(x: Double, y: Double, level: Double): |[Promise[|[HTMLImageElement, HTMLCanvasElement]], Unit]

    Permalink
    Definition Classes
    ImageryProvider
  39. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  40. var tileDiscardPolicy: TileDiscardPolicy

    Permalink
    Definition Classes
    ImageryProvider
  41. var tileHeight: Double

    Permalink
    Definition Classes
    ImageryProvider
  42. var tileWidth: Double

    Permalink
    Definition Classes
    ImageryProvider
  43. var tilingScheme: TilingScheme

    Permalink
    Definition Classes
    ImageryProvider
  44. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  45. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  46. var url: String

    Permalink
  47. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  48. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ImageryProvider

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped