ios - Skobbler map not zooming with zoomToRouteWithInsets -


in skobbler map, have calculated route. if drag in map, after in button click want see route. in doumentation given these method ' zooms map current calculated route. '.

[[skroutingservice sharedinstance] zoomtoroutewithinsets:uiedgeinsetsmake(100, 100, 0, 0)]; 

i have given but, when called zoomtoroutewithinsets after drag on map , showing route.

there bug zoomtoroutewithinsets fixed in future version.

the current workaround call method twice (with same parameters) , job:

[[skroutingservice sharedinstance] zoomtoroutewithinsets:uiedgeinsetsmake(100, 100, 0, 0)]; [[skroutingservice sharedinstance] zoomtoroutewithinsets:uiedgeinsetsmake(100, 100, 0, 0)]; 

Comments

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -