iphone - RMMapView setCenterCoordinate function is not normally -
i want set center of rmmapview position that's _tempcoordinated2d (cllocationcoordinate2d)
normally, should be
// _rmmapview rmmapview class [_rmmapview setcentercoordinate:_tempcoordinated2d]; // try [_rmmapview setcentercoordinate:_tempcoordinated2d animated:yes]; // try [_rmmapview setcentercoordinate:_tempcoordinated2d animated:no];
result's wrong.
because center of rmmapview move _tempcoordinated2d , move current location. have checked code. doesn't have code that's setcentercoordinate current location.
the problem not that. this's problem hasn't occurred , if touch map , move map before run statement setcentercoordinate of rmmapview.
i don't know why.
sorry bad english.
do have usertrackingmode
set on rmmapview
causing center on user? try setting rmusertrackingmodenone
.
Comments
Post a Comment