Lines Matching defs:lat
75 private $lat;
97 * @param float $lat
121 * Wheter or not to override zoom/lat/lon and zoom to the extent of gpx/kml and markers
125 float $lat,
141 $this->lat = $lat;
190 * Calculate the lat/lon/zoom values to make sure that all of the markers and gpx/kml are on the map.
199 $geoms [] = new Point($this->lon, $this->lat);
202 $geoms [] = new Point($marker ['lon'], $marker ['lat']);
258 $this->lat = $centroid->getY();
259 Logger::debug("StaticMap::autoZoom: Set autozoom options to: z: $this->zoom, lon: $this->lon, lat: $this->lat");
274 [$this->zoom, $this->lat, $this->lon, $this->width, $this->height, serialize($this->markers), $this->maptype, $this->kmlFileName, $this->gpxFileName, $this->geojsonFileName]
328 $this->centerY = $this->latToTile($this->lat, $this->zoom);
346 * @param float $lat
350 public function latToTile(float $lat, int $zoom)
352 return (1 - log(tan($lat * M_PI / 180) + 1 / cos($lat * M_PI / 180)) / M_PI) / 2 * 2 ** $zoom;
521 $markerLat = $marker ['lat'];