Mohanraj
Mohanraj

Reputation: 597

Here Maps getMapPackageAtGeoCoordinates not Working and throws Error

When I refered the HereMap documentation, i found we can download the region whichever we want using getMapPackageatcoordinates Method . I tried to download the region by passing my Current location which is a NMAGeoCoordinate. But my app crashes with error

I had also attached my code which i use to get the mappackage using getMapPackageatcoordinates method

-(void)getMapPackage
{
_StartCoordinate=[[NMAGeoCoordinates alloc]initWithLatitude:12.878831 longitude:80.095566];
[[NMAMapLoader sharedMapLoader]getMapPackageAtGeoCoordinates:_StartCoordinate];
}

I had passed the expected data type for getMapPackageatcoordinates method which is NMAGeoCoordinates. But still my app crashes with the below error. please guide me what to do and which datatype should be passed to the getMapPackageatcoordinates method.

-[__NSCFConstantString escapeURLQueryParam]: unrecognized selector sent to instance 0x101024968

Upvotes: 0

Views: 140

Answers (1)

user3505695
user3505695

Reputation:

Using the GetMapPackage is the trick to solve the problem.

Upvotes: 0

Related Questions