Skip to content

Instantly share code, notes, and snippets.

@here-devblog-gists
Last active July 12, 2018 13:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save here-devblog-gists/e3d912c039613b4a57820bee1f80ec13 to your computer and use it in GitHub Desktop.
Save here-devblog-gists/e3d912c039613b4a57820bee1f80ec13 to your computer and use it in GitHub Desktop.
NMACoreRouter* coreRouter = [[NMACoreRouter alloc] init];
NMAGeoCoordinates* geoCoord1 = [[NMAGeoCoordinates alloc] initWithLatitude:41.38398 longitude:2.17092];
NMAGeoCoordinates* geoCoord2 = [[NMAGeoCoordinates alloc] initWithLatitude:(41.39203 longitude: 2.16509];
NMAWaypoint* waypoint1 = [[NMAWaypoint alloc] initWithGeoCoordinates:geoCoord1];
NMAWaypoint* waypoint2 = [[NMAWaypoint alloc] initWithGeoCoordinates:geoCoord2];
NSMutableArray* stops = [[NSMutableArray alloc] initWithCapacity:4];
[stops addObject:waypoint1];
[stops addObject:waypoint2];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment