class
MapboxImageryProvider extends Object with ImageryProvider
Instance Constructors
-
-
new
MapboxImageryProvider()
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
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
-
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]
-
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
-
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 hosted by Mapbox.
alias MapboxImageryProvider
- The options object takes the following properties - {String} [options.url='https://api.mapbox.com/v4/'] The Mapbox server url. - {String} options.mapId The Mapbox Map ID. - {String} [options.accessToken] The public access token for the imagery. - {String} [options.format='png'] The format of the image request. - {Object} [options.proxy] A proxy to use for requests. This object is expected to have a getURL function which returns the proxied URL. - {Ellipsoid} [options.ellipsoid] The ellipsoid. If not specified, the WGS84 ellipsoid is used. - {Number} [options.minimumLevel=0] The minimum level-of-detail supported by the imagery provider. Take care when specifying this that the number of tiles at the minimum level is small, such as four or less. A larger number is likely to result in rendering problems. - {Number} [options.maximumLevel] The maximum level-of-detail supported by the imagery provider, or undefined if there is no limit. - {Rectangle} [options.rectangle=Rectangle.MAX_VALUE] The rectangle, in radians, covered by the image. - {Credit|String} [options.credit] A credit for the data source, which is displayed on the canvas.
// Mapbox tile provider var mapbox = new Cesium.MapboxImageryProvider({ mapId: 'mapbox.streets', accessToken: 'thisIsMyAccessToken' });
https://www.mapbox.com/developers/api/#access-tokens
https://www.mapbox.com/developers/api/maps/#tiles