VectorTilesMapSetting

new SuperMap3D.VectorTilesMapSetting(scene)

MVT Map Global Settings Class.
Name Type Description
scene Scene Scenario for configuration settings.

Members

alpha : Number

Get or set the allowed opacity for MVT maps.
Default Value: 1.0

lineAntialiasing : Boolean

Get or set whether MVT map lines are anti-aliased.
Default Value: true

maxzoom : Number

Get or set the maximum zoom level allowed for MVT maps.
Default Value: 22

minzoom : Number

Get or set the minimum zoom level allowed for MVT maps.
Default Value: 0

Methods

flyTo(center, zoom, scale)

Set camera position (Note: This method only works when terrain is not loaded).
Name Type Description
center Array After positioning, the field of view center: the first value is longitude, the second is latitude, in degrees.
zoom Number MVT level after positioning.
scale Number Global scale.