Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/leaflet
LeafletViewport
Class LeafletViewport
Hierarchy
LeafletViewport
Implements
GeoViewport
Equals
Index
Constructors
constructor
Properties
geo
Center
geo
Frame
heading
map
tilt
view
Origin
zoom
Methods
equals
project
unproject
create
Constructors
constructor
new
Leaflet
Viewport
(
map
:
Map
, geoFrame
:
GeoBox
, geoCenter
:
GeoPoint
, viewOrigin
:
R2Point
, zoom
:
number
, heading
:
number
, tilt
:
number
)
:
LeafletViewport
Parameters
map:
Map
geoFrame:
GeoBox
geoCenter:
GeoPoint
viewOrigin:
R2Point
zoom:
number
heading:
number
tilt:
number
Returns
LeafletViewport
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
view
Origin
view
Origin
:
R2Point
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
)
:
LeafletViewport
Parameters
map:
Map
Returns
LeafletViewport
Modules
@swim/system
@swim/toolkit
@swim/ui
@swim/ux
@swim/vis
@swim/maps
@swim/map
@swim/mapbox
@swim/leaflet
@swim/googlemap
@swim/esrimap
Leaflet
View
Leaflet
View
Controller
Leaflet
Viewport
constructor
geo
Center
geo
Frame
heading
map
tilt
view
Origin
zoom
equals
project
unproject
create
Leaflet
View
Observer
Generated using
TypeDoc