Answers for "leaflet js marker"

1

leaflet js marker

var marker = L.marker([41.084130725870885, 28.985710880135677]).addTo(mymap);
Posted by: Guest on February-17-2021
-1

leafletjs location and marker

var map = L.map('map').setView([51.505, -0.09], 13);

L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
    attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
}).addTo(map);

L.marker([51.5, -0.09]).addTo(map)
    .bindPopup('A pretty CSS3 popup.<br> Easily customizable.')
    .openPopup();
Posted by: Guest on May-05-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language