".$strTitle."";
$strIntro .= nl2br2($strIntroText);
$numKey = (isset($_GET['key'])) ? $_GET['key'] : 1 ;
switch ($numKey) {
case 1 : $strKey = "IstRad=1";
break;
case 2: $strKey = "IstPKW=1";
break;
case 3 : $strKey = "IstFuss=1";
break;
}
$strSQL="SELECT * FROM Unfallorte2019_Hamm WHERE ".$strKey;
$result = $db->query($strSQL);
$arrMarker = array();
$arrDescription = array();
while ($row = $result->fetchArray()) {
//print_r($row);echo "
";
$id = $row[0];
$topic = 2;
$numLng = $row['XGCSWGS84'];
$numLat = $row['YGCSWGS84'];
$strDescription=generate_tooltip_description($row);
$arrMarker[]="marker[".$id."] = [L.marker([".$numLat."," .$numLng."],"
." { icon: ".$arrMarkerType[$topic]." }),'check_".$topic."'];\n"
."marker[".$id."][0].addTo(mymap);\n "
."marker[".$id."][0].bindPopup('".$strDescription."');";
}
$markerid=$id+1;
/*
marker[val.id] = [L.marker([val.lat, val.lng], { "icon": L.MakiMarkers.icon({ "color": color, "size": "m", "icon": "circle" }) }).bindPopup(html), val.membertype];
marker[val.id][0].addTo(map);
*/
?>
= $strTitle ?>