Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/mapbox
MapboxViewport
Class MapboxViewport
Hierarchy
MapboxViewport
Implements
GeoViewport
Equals
Index
Constructors
constructor
Properties
geo
Center
geo
Frame
heading
map
tilt
zoom
Methods
equals
project
unproject
create
Constructors
constructor
new
Mapbox
Viewport
(
map
:
Map
, geoFrame
:
GeoBox
, geoCenter
:
GeoPoint
, zoom
:
number
, heading
:
number
, tilt
:
number
)
:
MapboxViewport
Parameters
map:
Map
geoFrame:
GeoBox
geoCenter:
GeoPoint
zoom:
number
heading:
number
tilt:
number
Returns
MapboxViewport
Properties
Readonly
geo
Center
geo
Center
:
GeoPoint
Readonly
geo
Frame
geo
Frame
:
GeoBox
Readonly
heading
heading
:
number
Readonly
map
map
:
Map
Readonly
tilt
tilt
:
number
Readonly
zoom
zoom
:
number
Methods
equals
equals
(
that
:
unknown
)
:
boolean
Parameters
that:
unknown
Returns
boolean
project
project
(
geoPoint
:
AnyGeoPoint
)
:
R2Point
project
(
lng
:
number
, lat
:
number
)
:
R2Point
Parameters
geoPoint:
AnyGeoPoint
Returns
R2Point
Parameters
lng:
number
lat:
number
Returns
R2Point
unproject
unproject
(
viewPoint
:
AnyR2Point
)
:
GeoPoint
unproject
(
x
:
number
, y
:
number
)
:
GeoPoint
Parameters
viewPoint:
AnyR2Point
Returns
GeoPoint
Parameters
x:
number
y:
number
Returns
GeoPoint
Static
create
create
(
map
:
Map
)
:
MapboxViewport
Parameters
map:
Map
Returns
MapboxViewport
Modules
@swim/system
@swim/toolkit
@swim/ui
@swim/ux
@swim/vis
@swim/maps
@swim/map
@swim/mapbox
@swim/leaflet
@swim/googlemap
@swim/esrimap
Mapbox
View
Mapbox
View
Controller
Mapbox
Viewport
constructor
geo
Center
geo
Frame
heading
map
tilt
zoom
equals
project
unproject
create
Mapbox
View
Observer
Generated using
TypeDoc