react-native-maps (avoid api calls)
Budget: €8 – €30 EUR
Looking for someone who can help on react-native-maps in my react-native project.
Current behavior:
My MapView does on every onRegionChangeComplete a API call with the new latitude and longitude and set a state update for setting markers.
What I want: My MapView should only do the API Call when the new latitude and longitude is outside the past map-boundaries. I want to avoid that the api get calls everytime the user change the region on the map.
Current behavior:
My MapView does on every onRegionChangeComplete a API call with the new latitude and longitude and set a state update for setting markers.
What I want: My MapView should only do the API Call when the new latitude and longitude is outside the past map-boundaries. I want to avoid that the api get calls everytime the user change the region on the map.