Latest 0.1.1
Homepage https://github.com/Dwarven/DYCoordinateInChina
License MIT
Platforms ios 7.0
Authors

To determine a coordinate is in mars in China (GCJ-02)

Podfile

To integrate DYCoordinateInChina into your Xcode project using CocoaPods, specify it in your Podfile:

pod 'DYCoordinateInChina'

How to use

#import "DYCoordinateInChina.h"
BOOL result = [[DYCoordinateInChina sharedInstance] coordinateInChina:<#(CLLocationCoordinate2D)#>];
// or
DYCoordinateInChina * cic = [[DYCoordinateInChina alloc] init];
BOOL result = [cic coordinateInChina:<#(CLLocationCoordinate2D)#>];

Latest podspec

{
    "name": "DYCoordinateInChina",
    "version": "0.1.1",
    "summary": "To determine a coordinate is in mars in China (GCJ-02).",
    "homepage": "https://github.com/Dwarven/DYCoordinateInChina",
    "platforms": {
        "ios": "7.0"
    },
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Dwarven": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Dwarven/DYCoordinateInChina.git",
        "tag": "0.1.1"
    },
    "source_files": "*.{h,m}",
    "resources": "*.geojson",
    "ios": {
        "frameworks": [
            "CoreLocation",
            "MapKit"
        ]
    }
}

Pin It on Pinterest

Share This