Class/Object

cesium

ArcGisMapServerImageryProvider

Related Docs: object ArcGisMapServerImageryProvider | package cesium

Permalink

class ArcGisMapServerImageryProvider extends Object with ImageryProvider

Provides tiled imagery hosted by an ArcGIS MapServer. By default, the server's pre-cached tiles are used, if available.

alias ArcGisMapServerImageryProvider

- The options object takes the following properties - {String} options.url The URL of the ArcGIS MapServer service. - {String} [options.token] The ArcGIS token used to authenticate with the ArcGIS MapServer service. - {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 for tiled map servers, and a NeverTileDiscardPolicy is used for non-tiled map servers. In the former case, we request tile 0,0 at the maximum tile level and check pixels (0,0), (200,20), (20,200), (80,110), and (160, 130). 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 ArcGIS 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. - {Boolean} [options.usePreCachedTilesIfAvailable=true] If true, the server's pre-cached tiles are used if they are available. If false, any pre-cached tiles are ignored and the 'export' service is used. - {String} [options.layers] A comma-separated list of the layers to show, or undefined if all layers should be shown. - {Boolean} [options.enablePickFeatures=true] If true, ArcGisMapServerImageryProvider#pickFeatures will invoke the Identify service on the MapServer and return the features included in the response. If false, ArcGisMapServerImageryProvider#pickFeatures will immediately return undefined (indicating no pickable features) without communicating with the server. Set this property to false if you don't want this provider's features to be pickable. Can be overridden by setting the ArcGisMapServerImageryProvider#enablePickFeatures property on the object. - {Rectangle} [options.rectangle=Rectangle.MAX_VALUE] The rectangle of the layer. This parameter is ignored when accessing a tiled layer. - {TilingScheme} [options.tilingScheme=new GeographicTilingScheme()] The tiling scheme to use to divide the world into tiles. This parameter is ignored when accessing a tiled server. - {Ellipsoid} [options.ellipsoid] The ellipsoid. If the tilingScheme is specified and used, this parameter is ignored and the tiling scheme's ellipsoid is used instead. If neither parameter is specified, the WGS84 ellipsoid is used. - {Number} [options.tileWidth=256] The width of each tile in pixels. This parameter is ignored when accessing a tiled server. - {Number} [options.tileHeight=256] The height of each tile in pixels. This parameter is ignored when accessing a tiled server. - {Number} [options.maximumLevel] The maximum tile level to request, or undefined if there is no maximum. This parameter is ignored when accessing a tiled server.

Annotations
@RawJSType() @native() @JSName( ... )
Example:
  1. var esri = new Cesium.ArcGisMapServerImageryProvider({ url : 'https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer' });

See also

Resource Sharing

Server REST API

UrlTemplateImageryProvider

WebMapTileServiceImageryProvider

WebMapServiceImageryProvider

createTileMapServiceImageryProvider

SingleTileImageryProvider

createOpenStreetMapImageryProvider

GoogleEarthImageryProvider

BingMapsImageryProvider

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

    Permalink
  2. new ArcGisMapServerImageryProvider()

    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 defaultAlpha: Double

    Permalink
    Definition Classes
    ImageryProvider
  8. var defaultBrightness: Double

    Permalink
    Definition Classes
    ImageryProvider
  9. var defaultContrast: Double

    Permalink
    Definition Classes
    ImageryProvider
  10. var defaultGamma: Double

    Permalink
    Definition Classes
    ImageryProvider
  11. var defaultHue: Double

    Permalink
    Definition Classes
    ImageryProvider
  12. var defaultSaturation: Double

    Permalink
    Definition Classes
    ImageryProvider
  13. var enablePickFeatures: Boolean

    Permalink
  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. def pickFeatures(x: Double, y: Double, level: Double, longitude: Double, latitude: Double): |[Promise[Array[ImageryLayerFeatureInfo]], Unit]

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

    Permalink
    Definition Classes
    Object
  32. var proxy: Proxy

    Permalink
    Definition Classes
    ImageryProvider
  33. var ready: Boolean

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

    Permalink
    Definition Classes
    ImageryProvider
  35. var rectangle: Rectangle

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

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

    Permalink
    Definition Classes
    AnyRef
  38. var tileDiscardPolicy: TileDiscardPolicy

    Permalink
    Definition Classes
    ImageryProvider
  39. var tileHeight: Double

    Permalink
    Definition Classes
    ImageryProvider
  40. var tileWidth: Double

    Permalink
    Definition Classes
    ImageryProvider
  41. var tilingScheme: TilingScheme

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  44. var token: String

    Permalink
  45. var url: String

    Permalink
  46. var usingPrecachedTiles: Boolean

    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