17 lines
309 B
JavaScript
17 lines
309 B
JavaScript
import XDGeoSdk from './XDGeoSdk';
|
|
const xdGeoSdk = XDGeoSdk.getInstance();
|
|
|
|
export function getChinaGeoJson() {
|
|
return xdGeoSdk.getChinaGeoJson();
|
|
}
|
|
|
|
|
|
export function getChinaPolygon() {
|
|
return xdGeoSdk.getChinaPolygon();
|
|
}
|
|
|
|
export function isInChina(lat,lng) {
|
|
return xdGeoSdk.isInChina(lat,lng)
|
|
}
|
|
|