You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are perfect! In the example you precreated a local list of points and don't change it. But what if you have an infinite number of points and server sends you a limited annotation info based on the selected region?
The text was updated successfully, but these errors were encountered:
You can use the delegate method func mapView(_: MKMapView, regionDidChangeAnimated _: Bool) the protocol MKMapViewDelegate provides as I understand your question correctly. Inside of the function you can then make the network request to load more pins.
You are perfect! In the example you precreated a local list of points and don't change it. But what if you have an infinite number of points and server sends you a limited annotation info based on the selected region?
The text was updated successfully, but these errors were encountered: