cutetencentmap
Version:
A encapsulation of TencentMap JavascriptAPIv1.0x.It is easy to use with a modern programming style.
22 lines (16 loc) • 347 B
JavaScript
import {TMap} from "./Literal/TMap.js"
let a = new TMap.LatLng()
/**
*
* @param {*} lat
* @param {*} lng
* @returns {Fuction} a
*/
var test = function(lat,lng){
return function(){
let g = new window.TMap.LatLng(lat,lng)
this.getLat = g.getLat
return g
}
}
var g = new test(12,20)