アプリなどを開発するブログ

React Native / Swift / Ruby on Railsなどの学習メモ。


2013-11-10から1日間の記事一覧

Google Maps SDK for iOS で地図の中心の座標を取得する

projectionメソッドを使うことで、CGPointをcoordinateに変換することができる。 CGPoint point = mapView.center; CLLocationCoordinate2D coor = [mapView.projection coordinateForPoint:point];