Lothar1951
Mitglied
Hallo zusammen,
brauche noch mal Eure Hilfe. Ich möchte eine ja-Variable in eine Funktion einbinden. Anbei mein Code:
Um LG geht es!
Gruß Lothar
brauche noch mal Eure Hilfe. Ich möchte eine ja-Variable in eine Funktion einbinden. Anbei mein Code:
Code:
function initMap() {
var map = new google.maps.Map(document.getElementById('map'), {
zoom: 8,
center: {lat: 54.12917, lng: 11.64417}
});
setMarkers(map);
}
val LG = <%=lg%>;
// Data for the markers consisting of a name, a LatLng and a zIndex for the
// order in which these markers should display on top of each other.
var beaches = [
['Ostseecamp Seeblick', 54.12917, 11.64417, 4],
['Campingpark Buntspecht ****', 52.6556, 12.43445, 5],
['Campingplatz Liebeslaube', 53.93153, 11.29085, 3],
['Campingplatz Niendorf GmbH', LG , 11.27058,2],
['Maroubra Beach', -33.950198, 151.259302, 1]
];
Um LG geht es!
Gruß Lothar