0

ユーザーの動きに基づいて地図上にルートを継続的に描画する必要があるアプリに取り組んでいます。私はそれを探しましたが、満足のいく解決策はありません。これについて助けが必要です!

4

1 に答える 1

-1

このリンクを参照してください

https://github.com/kadirpekel/MapWithRoutes

またはこのコードを使用してください

NSArray *points = [NSArray arrayWithObjects: [[[CLLocation alloc] initWithLatitude:location.latitude longitude:location.longitude] autorelease],nil]; NVPolylineAnnotation *annotation = [[[NVPolylineAnnotation alloc] initWithPoints:points mapView:map] autorelease]; [map addAnnotation:annotation]; [loc release];

于 2013-08-08T11:05:57.623 に答える