开发者

How to change DB file for OpenStreetMap for iOS?

开发者 https://www.devze.com 2023-03-16 23:58 出处:网络
I开发者_运维知识库 have one problem with OpenStreetMap (OSM). I try to change the DB file in realtime and try to show the map of the one country. So my workflow:

I开发者_运维知识库 have one problem with OpenStreetMap (OSM). I try to change the DB file in realtime and try to show the map of the one country. So my workflow:

  1. Remove MapView object, clean delegate and data.
  2. Copy db file to the original file (MapOpenStreetMap.sqlite).
  3. Create new MapView object.

No success. I can't get tiles from new db file for the map. Only after restart the application. Any suggestions? Thanks!

0

精彩评论

暂无评论...
验证码 换一张
取 消