| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- class MapConstants {
- MapConstants._();
- //定位持续流通道名称
- static const String mapLocationEventChannel =
- 'atmob_map_location_event_channel';
- //地图SDK通道名称
- static const String mapMethodChannel = 'atmob_map_method_channel';
- //地图widget通道
- static const String mapViewChannelName = "com.atmob.flutter_map/map_view_";
- //地图widget_viewType名称
- static const String mapWidgetViewType = "com.atmob.flutter.map";
- /// *********************************************************************************************************************
- //SDK方法名称
- static const String init = 'init';
- static const String getPlatformMapName = 'getPlatformMapName';
- static const String startLocation = "startLocation";
- //地图相关方法名称
- static const String methodMapMoveCamera = "map#moveCamera";
- static const String methodMapAnimateCamera = "map#animateCamera";
- static const String methodMapClear = "map#clear";
- static const String methodMoveToSuitableLocation =
- "map#moveToSuitableLocation";
- static const String methodInteractionEnabled = "map#interactionEnabled";
- static const String methodMapLogoVisible = "map#logoVisible";
- //标记物相关方法名称
- static const String methodUpdateOrAddMarkers = "marker#updateOrAddMarkers";
- static const String methodReplaceAllMarkers = "marker#replaceAllMarkers";
- static const String methodMarkerOnTap = "marker#onTap";
- static const String methodMarkerRemoveMarker = "marker#removeMarker";
- //轨迹纠偏
- static const String methodQueryProcessedTrace = "trace#queryProcessedTrace";
- //polyline
- static const String methodAddPolyline = "polyline#addPolyline";
- static const String methodRemovePolyline = "polyline#removePolyline";
- static const String methodClearAllPolylines = "polyline#clearAllPolylines";
- }
|