ios - How to add custom floor plan for MapView with zoom and pan -


i developing ios app using swift. need show custom floor plan users can zoom , pan. floor plan image need set mapview instead of showing world map. when zooming should load images particular levels. , have show pin pointers points. not want show current location.

mkmapview best option? or there else achieve this?

you can use this example start. shows how position floor plan on map. you'll require in addition implement delegates methods - func mapview(mapview:mkmapview regiondidchangeanimated animated:bool) or func mapview(mapview:mkmapview regionwillchangeanimated animated:bool) determine current zoom level change image visible part (as it's tiled image).


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -