iphone - Using custom map with MKMapKit -
i creating iphone app os4.0, , attempting integrate custom map standard mkmapview. have been provided map in .eps format (vector image), , want somehow overlay on mkmapview in , restrict scrolling boundaries of map users cannot scroll outside boundaries of custom map. what's best way go this?
i have read stuff hosting map tiles on server, seems overly complex application. map attraction size of public zoo, think conceivable convert .eps .png file, , overlay it, might not give best performance.
i understand conceivable use uiscrollview job, problem have dynamically generated mkpinannotationviews placed on map, position must based on latitude , longitude, can't think on elegant or reasonable way scrollview. ideas?
thanks! -matt
apple has great bit of example code show need do. check out tilemap sample - available part of (free) wwdc 2010 samples download.
it shows how use gdal2tiles utility convert input map tree of overlay tiles.
another bit of apple sample code check out hazardmap, part of regular sdk samples.
Comments
Post a Comment