Nativescript Doc
Preparing search index...
The search index is not available
@nativescript-community/ui-carto
@nativescript-community/ui-carto
projections
ProjectionClass
Class ProjectionClass<G, T, U>
Abstract
Type Parameters
G
=
DefaultLatLonKeys
T
U
extends
ProjectionOptions
Hierarchy (
view full
)
BaseProjection
<
T
,
U
>
ProjectionClass
EPSG3857
EPSG4326
Projection
IProjection
Index
Constructors
constructor
Properties
during
Init
native
options
Methods
create
Native
from
Lat
Long
from
Wgs84
get
Native
init
Native
View
to
Lat
Long
to
Wgs84
Constructors
constructor
new
Projection
Class
<
G
,
T
,
U
>
(
options
?
,
native
?
)
:
ProjectionClass
<
G
,
T
,
U
>
Type Parameters
G
=
DefaultLatLonKeys
T
U
extends
ProjectionOptions
Parameters
Optional
options
:
U
Optional
native
:
T
Returns
ProjectionClass
<
G
,
T
,
U
>
Properties
Protected
during
Init
during
Init
:
boolean
native
native
:
T
options
options
:
U
Methods
create
Native
create
Native
(
options
)
:
T
Parameters
options
:
U
Returns
T
from
Lat
Long
from
Lat
Long
<
U
>
(
lat
,
lon
)
:
GenericMapPos
<
U
>
Type Parameters
U
=
G
Parameters
lat
:
any
lon
:
any
Returns
GenericMapPos
<
U
>
from
Wgs84
from
Wgs84
<
U
>
(
position
)
:
GenericMapPos
<
U
>
Type Parameters
U
=
G
Parameters
position
:
GenericMapPos
<
U
>
Returns
GenericMapPos
<
U
>
get
Native
get
Native
(
)
:
T
Returns
T
init
Native
View
init
Native
View
(
native
,
options
)
:
void
Parameters
native
:
T
options
:
U
Returns
void
to
Lat
Long
to
Lat
Long
<
U
>
(
x
,
y
)
:
GenericMapPos
<
U
>
Type Parameters
U
=
G
Parameters
x
:
any
y
:
any
Returns
GenericMapPos
<
U
>
to
Wgs84
to
Wgs84
<
U
>
(
position
)
:
GenericMapPos
<
U
>
Type Parameters
U
=
G
Parameters
position
:
GenericMapPos
<
U
>
Returns
GenericMapPos
<
U
>
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
during
Init
native
options
create
Native
from
Lat
Long
from
Wgs84
get
Native
init
Native
View
to
Lat
Long
to
Wgs84
@nativescript-community/ui-carto
core
datasources
geocoding/service
geometry
index
layers
packagemanager
projections
rastertiles
routing
search
ui
utils
vectorelements
vectortiles
Generated using
TypeDoc