search

Home  >  Q&A  >  body text

objective-c - ios百度地图定位问题

百度地图把要设置的中心位置的经纬度写死了,为什么还是只能默认的北京呢?
[baiduMapView setCenterCoordinate:CLLocationCoordinate2DMake(22, 114)];

PHP中文网PHP中文网2758 days ago472

reply all(1)I'll reply

  • 给我你的怀抱

    给我你的怀抱2017-05-02 09:23:04

    I used a real phone and the coordinates were hard-coded, but I still positioned it in Beijing and added pins, but the pins couldn’t be displayed either

    reply
    0
  • Cancelreply