class
GoogleEarthImageryProvider extends Object with ImageryProvider
Instance Constructors
-
-
new
GoogleEarthImageryProvider()
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
var
channel: Double
-
def
clone(): AnyRef
-
-
var
defaultAlpha: Double
-
var
defaultBrightness: Double
-
var
defaultContrast: Double
-
var
defaultGamma: Double
-
var
defaultHue: Double
-
var
defaultSaturation: Double
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
var
errorEvent: Event
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
getTileCredits(x: Double, y: Double, level: Double): Array[Credit]
-
var
hasAlphaChannel: Boolean
-
def
hasOwnProperty(v: String): Boolean
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
isPrototypeOf(v: Object): Boolean
-
var
maximumLevel: Double
-
var
minimumLevel: Double
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
var
path: String
-
def
pickFeatures(x: Double, y: Double, level: Double, longitude: Double, latitude: Double): |[Promise[Array[ImageryLayerFeatureInfo]], Unit]
-
def
propertyIsEnumerable(v: String): Boolean
-
var
proxy: Proxy
-
var
ready: Boolean
-
var
readyPromise: Promise[Boolean]
-
-
def
requestImage(x: Double, y: Double, level: Double): |[Promise[|[HTMLImageElement, HTMLCanvasElement]], Unit]
-
var
requestType: String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
-
var
tileHeight: Double
-
var
tileWidth: Double
-
-
def
toLocaleString(): String
-
def
toString(): String
-
var
url: String
-
def
valueOf(): Any
-
var
version: Double
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from Object
Inherited from Any
Inherited from AnyRef
Inherited from Any
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 projectiondata.projection
.var google = new Cesium.GoogleEarthImageryProvider({ url : 'https://earth.localdomain', channel : 1008 });
Resource Sharing
UrlTemplateImageryProvider
WebMapTileServiceImageryProvider
WebMapServiceImageryProvider
createTileMapServiceImageryProvider
SingleTileImageryProvider
createOpenStreetMapImageryProvider
BingMapsImageryProvider
ArcGisMapServerImageryProvider