Mapsforge analog for iphone

2019-07-13 11:43发布

问题:

I need some framework for my iPhone app, which is using maps. Now these maps are raster images and I'd like to optimize my app by doing vector maps instead. I know that my colleagues from Android development had used Mapsforge framework for this purposes. Is there any analog of this library for iPhone? I need framework that could quickly render vector maps using hardware acceleration, caching maps, offline rendering and (optinal) be cross-platform. Any suggestions? Thanks!

回答1:

Have a look at the following post: https://groups.google.com/forum/?fromgroups=#!topic/route-me-map/wbBa4h0R_iw

There is … libosmscout that do vector maps drawing (unix, windows, QT, iOS, Android, …), routing, searching:

https://sourceforge.net/projects/libosmscout/

I did the iOS/OSX drawing code, it's not finished but works quite well.



回答2:

ok, I've moved over my laziness and decided to move to github my forgotten almost year-ago work. This is Mapsforge for iOS, dirty code, but it should work without any additional setup. It can read .map files and asynchronously render tiles with vector objects to mapView. You can find it here: https://github.com/medvedNick/Mapsforge_iOS