Skip to content

CTAPIs/CTAPI_AMap

Repository files navigation

pod "CTAPI_AMap"

高德地图开放平台

https://lbs.amap.com/

API Docs

How To Use It

  • apply key from AMap:https://lbs.amap.com/
  • add pod "CTAPI_AMap" in your Podfile
  • create an Object named Target_CTAMapKey in your own project
@implementation Target_CTAMapKey

- (NSString *)Action_key:(NSDictionary *)params
{
    return @"your AMap key";
}

@end
  • create an Object named Target_CTAppContext in your own project (for CTNetworking)
@implementation Target_CTAppContext

- (BOOL)Action_isReachable:(NSDictionary *)params
{
    return YES;
}

- (NSInteger)Action_cacheResponseCountLimit:(NSDictionary *)params
{
    return 2;
}

- (BOOL)Action_shouldPrintNetworkingLog:(NSDictionary *)params
{
    return YES;
}

@end
  • haa! you can use AMap API now! read demos for how to use the APIManagers

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published