Lines Matching defs:lon
35 private $dflt = ['id' => 'olmap', 'width' => '550px', 'height' => '450px', 'lat' => 50.0, 'lon' => 5.1, 'zoom' => 12, 'autozoom' => 1, 'controls' => true, 'baselyr' => 'OpenStreetMap', 'gpxfile' => '', 'kmlfile' => '', 'geojsonfile' => '', 'summary' => ''];
91 // get the lat/lon for adding them to the metadata (used by geotag)
93 preg_match('(lon[:|=]\"-?\d*\.?\d*\")', $match, $mainLon);
100 $mainLon = $this->dflt ['lon'];
180 [$lat, $lon, $text, $angle, $opacity, $img] = $data;
182 $poi .= ", {lat:$lat,lon:$lon,txt:'$text',angle:$angle,opacity:$opacity,img:'$img',rowId: $rowId}";
186 $lon = $this->convertLon($lon);
189 $lon .= 'ยบ';
198 <td class="lon" title="' . $this->getLang('olmapPOIlonTitle') . '">' . $lon . '</td>
288 * multi-line string of lat,lon,text triplets
289 * @return array multi-dimensional array of lat,lon,text triplets
313 [$match, $lat, $lon, $angle, $opacity, $img, $text] = $pt;
315 $lon = is_numeric($lon) ? $lon : 0;
325 $overlay [] = [$lat, $lon, $text, $angle, $opacity, $img];
365 $imgUrl .= "¢er=" . $gmap ['lat'] . "," . $gmap ['lon'];
375 [$lat, $lon, $text, $angle, $opacity, $img] = $data;
377 . $lat . "," . $lon . "%7clabel%3a" . ++$rowId;
416 $imgUrl .= "?center=" . $gmap ['lat'] . "," . $gmap ['lon'];
425 // $bbox=$this->calcBBOX($overlay, $gmap['lat'], $gmap['lon']);
440 list ( $lat, $lon, $text, $angle, $opacity, $img ) = $data;
441 // $imgUrl .= $sUrl."lib/plugins/openlayersmap/icons/".$img.",1,C,".$lat.",".$lon.",0,0,0,0,";
442 $imgUrl .= $sUrl . "lib/plugins/openlayersmap/icons/" . $img . ",1,C," . $lat . "," . $lon . ",";
483 [$lat, $lon, $text, $angle, $opacity, $img] = $data;
485 $markers [] = ['lat' => $lat, 'lon' => $lon, 'type' => $iconStyle];
526 $gmap ['lon'],
546 $imgUrl .= "?center=" . $gmap ['lat'] . "," . $gmap ['lon'];
561 [$lat, $lon, $text, $angle, $opacity, $img] = $data;
564 $imgUrl .= "$lat,$lon,$iconStyle%7c";
601 $bbox = $this->calcBBOX($overlay, $gmap ['lat'], $gmap ['lon']);
619 [$lat, $lon, $text, $angle, $opacity, $img] = $data;
628 //$imgUrl .= "&pp=$lat,$lon;$iconStyle;$rowId";
629 $imgUrl .= "&pp=$lat%2C$lon%3B$iconStyle%3B$rowId";
642 * multi-dimensional array of array($lat, $lon, $text, $angle, $opacity, $img)
645 * @param float $lon
649 private function calcBBOX(array $overlay, float $lat, float $lon): array
652 $lons = [$lon];
654 [$lat, $lon, $text, $angle, $opacity, $img] = $data;
656 $lons [] = $lon;
790 <th class="lon" scope="col" title="' . $this->getLang('olmapPOIlonTitle') . '">'
811 if (!(($this->dflt ['lat'] == $mainLat) && ($this->dflt ['lon'] == $mainLon))) {
814 $renderer->meta ['geo'] ['lon'] = $mainLon;