Last active
July 12, 2018 13:44
-
-
Save here-devblog-gists/e3d912c039613b4a57820bee1f80ec13 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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