* @function LonLat.prototype.toShortString * @description 将经度纬度转换成简单字符串。 * @example * var lonLat = new LonLat(100,50); * var str = lonLat.toShortString(); * @returns {string} 处理后的经纬度字符串。例如:"100,50"。
()
| 56 | * @returns {string} 处理后的经纬度字符串。例如:"100,50"。 |
| 57 | */ |
| 58 | toShortString() { |
| 59 | return (this.lon + "," + this.lat); |
| 60 | } |
| 61 | |
| 62 | /** |
| 63 | * @function LonLat.prototype.clone |