I have just build an swift app that takes data+coords
from dynamoDB
and puts it onto the ios mapkit
. There are two sets of coords
: one for current user location and one from dynamoDB
. I want these coords
to be able to update inside the map, but do not want the actual mapView
to zoom and move at all (only the user can zoom and move).
I have achieved everything above except the last part. Currently whenever the annotations are added and mapView.showAnnotations
is called, the mapView
zooms and moves to enclose the annotations. How do I disable this?