File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/js/location/core/src/common/point.js
Back
/** * Base class for the working with latitude and longitude */ export default class Point { /** {String} */ #latitude; /** {String} */ #longitude; constructor(latitude: string, longitude: string) { this.#latitude = latitude; this.#longitude = longitude; } get latitude(): string { return this.#latitude; } get longitude(): string { return this.#longitude; } toArray(): Array { return [this.latitude, this.longitude]; } static fromJson(jsonData): Point { return new Point(jsonData.latitude, jsonData.longitude); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.25 |
proxy
|
phpinfo
|
Settings