GISTDA sphere Native API Reference
Sphere
constant
object
Sphere.MapView
call
objectCall
'Sphere' Constant
constant
Avaliable types and their names
LineStyle
Solid
Dashed
Dot
LayerType
Vector
XYZ
WMS
WMTS
WMTS_REST
TMS
Layers
SIMPLE
STREETS
HYBRID
TRAFFIC
IMAGES
Filter
Dark
Light
None
ObjectLabel
Title
RouteLine
Destination
Road
Ferry
Focus
RouteMode
Traffic
Cost
Distance
Fly
RouteLabel
Distance
Time
Hide
object
Avaliable types and their arguments
Polyline
options: GeometryOptions
Polygon
options: GeometryOptions
Circle
location: Location|GeoJSON
radius: number
options: GeometryOptions
Dot
location: Location|GeoJSON
options: GeometryOptions
Rectangle
location: Location
size: Size|Location
options: GeometryOptions
Layer
name: string
options: LayerOptions
Marker
location: Location|GeoJSON
options: MarkerOptions
Popup
location: Location|GeoJSON
options: PopupOptions
'Sphere.MapView' Component
Props
layer
: Layer
zoom
: number
zoomRange
: Range
location
: Location
ui
: UiComponent
lastView
: bool
language
: string
onReady
: function
onResize
: function
onRepaint
: function
onZoom
: function
onZoomRange
: function
onLocation
: function
onFullscreen
: function
onRotate
: function
onPitch
: function
onToolbarChange
: function
onDrawCreate
: function
onDrawDelete
: function
onTooltipChange
: function
onBeforeContextmenu
: function
onContextmenu
: function
onMousemove
: function
onClick
: function
onDoubleClick
: function
onWheel
: function
onDrag
: function
onDrop
: function
onIdle
: function
onLayerChange
: function
onTileLoading
: function
onTileLoaded
: function
onOverlayChange
: function
onOverlayUpdate
: function
onOverlayClick
: function
onOverlayLoad
: function
onOverlayDrag
: function
onOverlayDrop
: function
onOverlayHover
: function
onOverlayLeave
: function
onPopupClose
: function
onRouteError
: function
onRouteComplete
: function
onError
: function
call
Avaliable methods and their arguments
, group by method type
Layers
Layers.language
value: string
Layers.setBase
layer: Layer|MapboxLayer|Object|String
Layers.add
layer: Layer|MapboxLayer|Object, beforeId: string
Layers.remove
layer: Layer|MapboxLayer|Object
Layers.clear
Layers.list
Layers.size
Map
id
resize
repaint
zoom
value: number|bool, animate: bool
zoomRange
value: Range
location
value: Location, animate: bool
bound
value: Bound, options: FitBoundsOptions, allowZoomIn: bool
move
offset: Point, animate: bool
language
value: string
rotate
angle: number, animate: bool
pitch
angle: number
enableFilter
filter: Filter
goTo
camera: CameraOptions, animate: bool
Overlays
Overlays.add
overlay: Overlay
Overlays.remove
overlay: Overlay
Overlays.load
mode: Overlays
Overlays.unload
mode: Overlays
Overlays.clear
Overlays.list
Overlays.size
Overlays.lastOpenPopup
Route
Route.language
value: string
Route.enableContextMenu
Route.line
type: RouteLine, type: RouteLine, value: GeometryOptions
Route.auto
state: bool
Route.mode
value: RouteMode
Route.modeOf
index: int, index: int, value: RouteMode
Route.enableRoute
routeType: RouteType, routeType: RouteType, state: bool
Route.label
value: RouteLabel
Route.add
destination: Marker|Location
Route.insert
index: int, destination: Marker|Location
Route.remove
destination: Marker
Route.removeAt
index: int
Route.clearDestination
Route.clearPath
Route.clear
Route.list
Route.size
Route.reverse
Route.search
Route.distance
format: bool
Route.interval
format: bool
Route.guide
format: bool
Route.exportRouteLine
options: GeometryOptions
Search
Search.language
value: string
Search.suggest
keyword: string, options: SuggestOptions
Search.search
keyword: string, options: SearchOptions
Search.address
location: Location, options: AddressOptions
Search.nearPoi
location: Location, options: NearPoiOptions
Search.clear
Search.enablePopup
state: bool
Tags
Tags.language
value: string
Tags.set
tag: string, options: TagOptions
Tags.add
tag: string, options: TagOptions
Tags.remove
tag: string
Tags.clear
Tags.list
Tags.size
Tags.enablePopup
state: bool
objectCall
Avaliable object's methods and their arguments
, group by object type
Polyline
(inherited methods from Overlay)
popup
pop
mode: bool, location: Location
pivot
centroid
bound
update
newOptions: GeometryOptions
rotate
angle: number
size
language: string
Polygon
(inherited methods from Polyline)
union
overlay: Polygon, options: GeometryOptions
intersection
overlay: Polygon, options: GeometryOptions
difference
overlay: Polygon, options: GeometryOptions
split
splitter: Polygon, options: GeometryOptions
Circle
(inherited methods from Polyline)
radius
language: string
Dot
(inherited methods from Polyline)
Rectangle
(inherited methods from Polygon)
Layer
Overlay
location
animate: bool
visibleRange
active
element
shift
vector: Location
distance
overlay: Location|Overlay, language: string
intersects
overlay: Location|Overlay
contains
overlay: Location|Overlay
within
overlay: Location|Overlay
toJSON
Marker
(inherited methods from Overlay)
popup
pop
mode: bool
update
newOptions: MarkerOptions
Popup
(inherited methods from Overlay)
title
value: HTML
detail
value: HTML