Class/Object

cesium

GoogleEarthImageryProvider

Related Docs: object GoogleEarthImageryProvider | package cesium

Permalink

class GoogleEarthImageryProvider extends Object with ImageryProvider

Provides tiled imagery using the Google Earth Imagery API.

Notes: This imagery provider does not work with the public Google Earth servers. It works with the Google Earth Enterprise Server.

By default the Google Earth Enterprise server does not set the Resource Sharing headers. You can either use a proxy server which adds these headers, or in the /opt/google/gehttpd/conf/gehttpd.conf and add the 'Header set Access-Control-Allow-Origin "*"' option to the '<Directory />' and '<Directory "/opt/google/gehttpd/htdocs">' directives.

alias GoogleEarthImageryProvider

- The options object takes the following properties - {String} options.url The url of the Google Earth server hosting the imagery. - {Number} options.channel The channel (id) to be used when requesting data from the server. The channel number can be found by looking at the json file located at: earth.localdomain/default_map/query?request=Json&vars=geeServerDefs The /default_map path may differ depending on your Google Earth Enterprise server configuration. Look for the "id" that is associated with a "ImageryMaps" requestType. There may be more than one id available. Example: { layers: [ { id: 1002, requestType: "ImageryMaps" }, { id: 1007, requestType: "VectorMapsRaster" } ] } - {String} [options.path="/default_map"] The path of the Google Earth server hosting the imagery. - {Number} [options.maximumLevel] The maximum level-of-detail supported by the Google Earth Enterprise server, or undefined if there is no limit. - {TileDiscardPolicy} [options.tileDiscardPolicy] The policy that determines if a tile is invalid and should be discarded. To ensure that no tiles are discarded, construct and pass a NeverTileDiscardPolicy for this parameter. - {Ellipsoid} [options.ellipsoid] The ellipsoid. If not specified, the WGS84 ellipsoid is used. - {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.

exception {RuntimeError} Could not find layer with channel (id) of options.channel. exception {RuntimeError} Could not find a version in channel (id) options.channel. exception {RuntimeError} Unsupported projection data.projection.

Annotations
@RawJSType() @native() @JSName( "Cesium.GoogleEarthImageryProvider" )
Example:
  1. var google = new Cesium.GoogleEarthImageryProvider({ url : 'https://earth.localdomain', channel : 1008 });

See also

Resource Sharing

UrlTemplateImageryProvider

WebMapTileServiceImageryProvider

WebMapServiceImageryProvider

createTileMapServiceImageryProvider

SingleTileImageryProvider

createOpenStreetMapImageryProvider

BingMapsImageryProvider

ArcGisMapServerImageryProvider

Linear Supertypes
ImageryProvider, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GoogleEarthImageryProvider
  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 GoogleEarthImageryProvider(options: GoogleEarthImageryProviderOptions)

    Permalink
  2. new GoogleEarthImageryProvider()

    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. var channel: Double

    Permalink
  6. def clone(): AnyRef

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

    Permalink
    Definition Classes
    ImageryProvider
  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 maximumLevel: Double

    Permalink
    Definition Classes
    ImageryProvider
  26. var minimumLevel: Double

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

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

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

    Permalink
    Definition Classes
    AnyRef
  30. var path: String

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

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

    Permalink
    Definition Classes
    Object
  33. var proxy: Proxy

    Permalink
    Definition Classes
    ImageryProvider
  34. var ready: Boolean

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

    Permalink
    Definition Classes
    ImageryProvider
  36. var rectangle: Rectangle

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

    Permalink
    Definition Classes
    ImageryProvider
  38. var requestType: String

    Permalink
  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. var version: Double

    Permalink
  49. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. 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