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

Python Kivy ListView: How to delete selected ListItemButton? -

asp.net mvc 4 - A specified Include path is not valid. The EntityType '' does not declare a navigation property with the name '' -