File tree Expand file tree Collapse file tree
src/main/java/com/example/app_utils Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ material3 = "1.4.0"
3636materialIconsExtended = " 1.7.8"
3737
3838# Google Maps & Places
39+ androidMapsUtils = " 5.0.0"
3940mapsCompose = " 8.3.1"
4041mapsKtx = " 6.1.0"
4142places = " 5.1.1"
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ dependencies {
8383 // Utility Library for Maps SDK for Android
8484 // You do not need to add a separate dependency for the Maps SDK for Android
8585 // since this library builds in the compatible version of the Maps SDK.
86- implementation(" com.google.maps.android:android-maps-utils:3.19 .0" )
86+ implementation(" com.google.maps.android:android-maps-utils:5.0 .0" )
8787}
8888// [END maps_android_utils_install_snippet]
8989
Original file line number Diff line number Diff line change 4141class GeoJSON {
4242 private GoogleMap map ;
4343
44- private void addGeoJsonLayerJsonObject () {
44+ private void addGeoJsonLayerJsonObject () throws JSONException {
4545 // [START maps_android_util_geojson_add_jsonobject]
4646 JSONObject geoJsonData = // JSONObject containing the GeoJSON data
4747 // [START_EXCLUDE silent]
You can’t perform that action at this time.
0 commit comments