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

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -