This commit is contained in:
Walter Hupfeld 2024-02-18 19:46:30 +01:00
parent 318200daa4
commit dfb62c2833
2 changed files with 38 additions and 39 deletions

View File

@ -126,7 +126,7 @@
$( document ).ready(function() {
var url = 'https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw';
var url = 'https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token=<?=$mapbox_key?>';
var attribution = 'Map data &copy; <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, ' +
'<a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, ' +
'Imagery © <a href="https://www.mapbox.com/">Mapbox</a>';

View File

@ -43,7 +43,6 @@ while ($row = $result->fetch(PDO::FETCH_ASSOC)) {
case "introText":
$strIntroText =$row['value'];
break;
case "impressum":
$strImpressum =$row['value'];
break;
@ -72,7 +71,6 @@ while ($row = $result->fetch(PDO::FETCH_ASSOC)) {
default: ;
//echo "Fehler bei ".$row['key'];
// Ende Lokalisierung
break;
}
@ -141,6 +139,14 @@ $arrMarkerType = array (
5=>"truckMarker",
);
$arrIcon = array (
1 => "<i class='wa bg-info fa fa-male'></i>",
2 => "<i class='wa bg-success fa fa-bicycle'></i>",
3 => "<i class='wa bg-primary fa fa-bus'></i>",
4 => "<i class='wa bg-danger fa fa-car'></i>",
5 => "<i class='wa bg-warning fa fa-truck'></i>"
);
$arrAge = array (
1 => "keine Angabe",
2 => "bis 14 Jahre",
@ -187,10 +193,3 @@ $arrTransport = array (
6 => "Zu Fuß"
);
$arrIcon = array (
1 => "<i class='wa bg-info fa fa-male'></i>",
2 => "<i class='wa bg-success fa fa-bicycle'></i>",
3 => "<i class='wa bg-primary fa fa-bus'></i>",
4 => "<i class='wa bg-danger fa fa-car'></i>",
5 => "<i class='wa bg-warning fa fa-truck'></i>"
);