iphone - How to set the map to a particular location on map load -
i using mapkit found on github plot directions, problem when mapview loads shows @ startup , moves location route plotted. there way show australia instead @ startup?
thanks
i'm using initialize map view, , works me :
cllocationcoordinate2d coord = {.latitude = xx.xxx, .longitude = x.xxx}; mkcoordinatespan span = {.latitudedelta = x.xx, .longitudedelta = x.xx}; mkcoordinateregion region = {coord, span};
then, use setregion
method mkmapview
is you're looking for?
Comments
Post a Comment