Skip to content

Commit

Permalink
Fixed OneBusAway#892 - Added map style to remove POI
Browse files Browse the repository at this point in the history
  • Loading branch information
amrhossamdev committed Feb 29, 2024
1 parent 30f4794 commit cb95e9c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,10 @@ private void initMap(Bundle savedInstanceState) {
}
initMapState(args);
}

// Remove All POI from the map
String removePOIStyle = "[{\"featureType\":\"poi\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]}]";
mMap.setMapStyle(new MapStyleOptions(removePOIStyle));
}

private void initMapState(Bundle args) {
Expand Down

0 comments on commit cb95e9c

Please sign in to comment.