Download models/Locate.php from chartManD/turitezo: direct link, hf CLI and curl.
- Browser
- Download file 412 Bytes
-
https://huggingface.co/spaces/chartManD/turitezo/resolve/main/models/Locate.php
- Command line
-
hf download hf://spaces/chartManD/turitezo/models/Locate.php
-
curl -L -o Locate.php https://huggingface.co/spaces/chartManD/turitezo/resolve/main/models/Locate.php
412 Bytes
| class Locate | |
| { | |
| private $latitud; | |
| private $altitud; | |
| private $longitud; | |
| public function __construct($lat, $alt, $long) | |
| { | |
| $this->latitud = $lat; | |
| $this->altitud = $alt; | |
| $this->longitud = $long; | |
| } | |
| public function getCoordinates() : array | |
| { | |
| return ["latitud" => $this->latitud, "altitud" => $this->altitud, "longitud" => $this->longitud]; | |
| } | |
| } |