app/src/main/java/com/okgoincar/base/AMapKit.kt
@@ -162,11 +162,14 @@ */ fun addMarker( aMap: AMap, mLat: Double, mLng: Double, mLat: Double?, mLng: Double?, view: View, peopleId: String ): Marker? { if (mLat == null || mLng == null){ return null } val options: MarkerOptions = getOption(LatLng(mLat, mLng), view) val marker: Marker = aMap.addMarker(options) if (!TextUtils.isEmpty(peopleId)) {