iOS 开发实用技术导航
NSHipster 中文版
› http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
› http://www.cocos2d-iphone.org/
CocoaPods
› http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
› http://code.google.com/mobile/analytics/
WWDC
› https://developer.apple.com/wwdc/
Design Guides and Resources
› https://developer.apple.com/design/
Transcripts of WWDC sessions
› http://asciiwwdc.com
Cocoa with Love
› http://cocoawithlove.com/
Cocoa Dev Central
› http://cocoadevcentral.com/
NSHipster
› http://nshipster.com/
Style Guides
› Google Objective-C Style Guide
› NYTimes Objective-C Style Guide
Useful Tools and Services
› Charles Web Debugging Proxy
› Smore
hdbean
V2EX  ›  iDev

如何修改 MapView 中的用户位置?

  •  
  •   hdbean ·
    Heisenbean · Dec 7, 2015 · 2466 views
    This topic created in 3978 days ago, the information mentioned may be changed or developed.

    由于用的 OSM 的图源,他们的位置采用的国标坐标系(WGS84),有点偏移.通过纠偏算法拿到了正确的坐标(GCJ-02),但是怎么修改呢?
    就是 MapView 上显示的小蓝点还是不对
    在didUpdateUserLocation这个代理方法中修改 userlocation 并不管用啊...希望有做过的前辈指导下..

    1 replies  •  2015-12-31 00:00:40 +08:00
    bloodshed
        1
    bloodshed  
       Dec 31, 2015   ❤️ 1
    不用 userLocation

    自己根据纠偏后的坐标画个新 annotation 的用来表示用户位置
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2983 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 11:14 · PVG 19:14 · LAX 04:14 · JFK 07:14
    ♥ Do have faith in what you're doing.