MapView Hide Points of Interests


#1

Hi I want to make the MapView very simple and not show any points of interests (icons or words on the map).

I tried this but it didn’t work.

<MapView
            style={{ flex: 1 }}
            region={{
              latitude: 22.279412,
              longitude: 114.164559,
              latitudeDelta: 0.01,
              longitudeDelta: 0.01,
            }}
            showsPointsOfInterest={false}
            showsBuildings={false}
          >

#2

I used this custom map style to get it working: https://github.com/react-community/react-native-maps/issues/768#issuecomment-276989214


closed #3

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.