File tree Expand file tree Collapse file tree
mapconductor-core/src/main/java/com/mapconductor/core/marker
mapconductor-for-mapbox/src/main/java/com/mapconductor/mapbox Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -114,8 +114,7 @@ class MarkerOverlayManagerImpl<ActualMarker>(
114114 override val prevEntity: MarkerEntity <ActualMarker > = prevEntity
115115 }
116116 }
117- }
118- .filterNotNull()
117+ }.filterNotNull()
119118
120119 val actualMarkers: List <ActualMarker ?> = onChange(updates)
121120
Original file line number Diff line number Diff line change @@ -6,15 +6,15 @@ import android.content.pm.PackageManager
66
77fun MapboxInitSDK (context : Context ) {
88 // 初めて使うときはApplicationContextで認証する
9- val accessToken = context.packageManager
10- .getApplicationInfo(context.packageName, PackageManager .GET_META_DATA )
11- .metaData
12- ?.getString(" MAPBOX_ACCESS_TOKEN" )
9+ val accessToken =
10+ context.packageManager
11+ .getApplicationInfo(context.packageName, PackageManager .GET_META_DATA )
12+ .metaData
13+ ?.getString(" MAPBOX_ACCESS_TOKEN" )
1314 if (accessToken == null ) {
1415 throw Exception (
1516 " <meta-data android:name=\" MAPBOX_ACCESS_TOKEN\" /> is required" ,
1617 )
1718 }
1819 MapboxOptions .accessToken = accessToken
1920}
20-
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import androidx.compose.ui.Modifier
66import androidx.compose.ui.node.Ref
77import androidx.compose.ui.platform.LocalContext
88import com.mapbox.maps.MapInitOptions
9- import com.mapbox.maps.loader.MapboxMapsInitializer
109import com.mapconductor.core.map.MapViewBase
1110import com.mapconductor.core.map.OnMapEventHandler
1211import com.mapconductor.core.marker.OnMarkerEventHandler
You can’t perform that action at this time.
0 commit comments