Preparing search index...
The search index is not available
导航SDK - v11.1.0
导航SDK
api/navi/model/NaviPoi
NaviPoi
Class NaviPoi
Author
liqi 导航Poi信息类
Implements
INaviPoi
Index
Constructors
constructor
Properties
name?
Methods
set
Direction
Constructors
constructor
new
Navi
Poi
(
name
,
latlng
,
poiId
)
:
NaviPoi
Parameters
name
:
null
|
string
poi名称
Since
1.0.0
latlng
:
null
|
NaviLatLng
poiId
:
null
|
string
poiid
Since
1.0.0
Returns
NaviPoi
Properties
Optional
name
name
?:
null
|
string
poi名称
Since
1.0.0
Methods
set
Direction
set
Direction
(
mDirection
)
:
void
设置poi角度,若设置了Poi角度,起点算路会参考该角度。
注意:只有作为起点,且PoiId为空,经纬度非空,才有效。
Parameters
mDirection
:
number
单位:度,北零顺时针。范围:[0-360)
Returns
void
Since
1.0.0
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
name
Methods
set
Direction
导航SDK - v11.1.0
Loading...
Author
liqi 导航Poi信息类