Lines Matching refs:overlay

104         $overlay = $this->extractPoints($str_points);
112 $imgUrl .= $this->getGoogle($gmap, $overlay);
118 $_firstimageID = $this->getStaticOSM($gmap, $overlay);
126 $imgUrl .= $this->getBing($gmap, $overlay) . "&.png";
132 $_firstimageID = $this->getStaticOSM ( $gmap, $overlay );
138 $imgUrl .= $this->_getMapQuest ( $gmap, $overlay );
144 $_firstimageID = $this->getStaticOSM($gmap, $overlay);
178 if ($overlay !== []) {
179 foreach ($overlay as $data) {
285 * extract overlay points for the map from the wiki syntax data
311 $overlay = [];
325 $overlay [] = [$lat, $lon, $text, $angle, $opacity, $img];
327 return $overlay;
334 * @param array $overlay
336 private function getGoogle(array $gmap, array $overlay): string
372 if ($overlay !== []) {
374 foreach ($overlay as $data) {
393 * @param array $overlay
396 private function _getMapQuest($gmap, $overlay) {
415 if (count ( $overlay ) < 1) {
425 // $bbox=$this->calcBBOX($overlay, $gmap['lat'], $gmap['lon']);
437 if (! empty ( $overlay )) {
439 foreach ( $overlay as $data ) {
457 * @param array $overlay
462 private function getStaticOSM(array $gmap, array $overlay)
481 if ($overlay !== []) {
482 foreach ($overlay as $data) {
557 if ($overlay !== []) {
560 foreach ($overlay as $data) {
578 * @param array $overlay
580 private function getBing(array $gmap, array $overlay): string
601 $bbox = $this->calcBBOX($overlay, $gmap ['lat'], $gmap ['lon']);
616 if ($overlay !== []) {
618 foreach ($overlay as $data) {
641 * @param array $overlay
649 private function calcBBOX(array $overlay, float $lat, float $lon): array
653 foreach ($overlay as $data) {