LocationShow class
Constructors
LocationShow ({Key ? key , required String addressName , String ? addressLocation , required double latitude , required double longitude , required LocationUtils locationUtils , required TIMMapWidget mapBuilder (VoidCallback onMapLoadDone , Key mapKey ), bool ? isUseMapSDKLocation = true , List <NavigationMapItem > ? navigationMapList , bool isAllowCurrentLocation = true })
const
Properties
addressLocation
→ String ?
Full address / 位置地址
final
addressName
→ String
Address name / 位置名称标题
final
hashCode
→ int
The hash code for this object.
no setter inherited
isAllowCurrentLocation
→ bool
To control is allow the location show page has a location button on bottom right. / 是否显示定位按钮
final
isUseMapSDKLocation
→ bool ?
To control if the poisoning ability from Map SDK is needed, if true, please make sure 'moveToCurrentLocationActionWithSearchPOIByMapSDK' been implemented correctly.
用于控制是否使用地图SDK定位能力。若使用,请确保moveToCurrentLocationActionWithSearchPOIByMapSDK方法继承正确。
final
key
→ Key ?
Controls how one widget replaces another widget in the tree.
final inherited
latitude
→ double
Latitude / 纬度
final
locationUtils
→ LocationUtils
LocationUtils with the TIMMapService implemented with specific Map SDK.
传入根据选定地图SDK实例化后的LocationUtils
final
longitude
→ double
Longitude / 经度
final
mapBuilder
→ TIMMapWidget Function(VoidCallback onMapLoadDone , Key mapKey )
TIMMapWidget with the inherited map widget by the Map SDK you chose.
传入根据选定地图SDK实例化后的地图组件TIMMapWidget
final
navigationMapList
→ List <NavigationMapItem > ?
External navigation map list for jumping out to navigate, if nothing here, default list includes "Tencent Map", "AMap", "Baidu Map", "Apple Map".
第三方导航APP列表,如果没传,则默认腾讯/百度/高德/苹果地图。
final
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
tim_ui_kit_lbs_plugin 2.5.0