MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / toShortString

Method toShortString

src/common/commontypes/LonLat.js:58–60  ·  view source on GitHub ↗

* @function LonLat.prototype.toShortString * @description 将经度纬度转换成简单字符串。 * @example * var lonLat = new LonLat(100,50); * var str = lonLat.toShortString(); * @returns {string} 处理后的经纬度字符串。例如:"100,50"。

()

Source from the content-addressed store, hash-verified

56 * @returns {string} 处理后的经纬度字符串。例如:"100,50"
57 */
58 toShortString() {
59 return (this.lon + "," + this.lat);
60 }
61
62 /**
63 * @function LonLat.prototype.clone

Callers 1

LonLatSpec.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected