Category : markers

I’m making a map in Leaflet and I have up to two labels per marker: var redIcon = new L.Icon({ iconUrl: ‘https://raw.githubusercontent.com/pointhi/leaflet-color-markers/master/img/marker-icon-2x-red.png’, shadowUrl: ‘https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/images/marker-shadow.png’, iconSize: [25, 41], iconAnchor: [12, 41], popupAnchor: [1, -34], shadowSize: [41, 41] }); var marker1 = L.marker([25.777085, -80.193935], {icon: redIcon}).addTo(mymap); var marker2 = L.marker([25.759461, -80.204921], {icon: redIcon}).addTo(mymap); marker1.bindPopup(‘<div style="line-height: 1.2em;"><table align="center" ..

Read more

I saw an example earlier which allows me to search globally on esri for towns and other famous places. However, I have a firebase database containing objects from which I created markers and I want to search from the database. The problem is I have no idea where to begin or how to do it. ..

Read more

I have an array containing points objects from which I plot my markers. var Allpoints=[{ "names":"first", "eastings":556568, "northings":446445, "description": "aijaskj jnrkajra skjanjanek ", "elevations": 5668, "LatLong": [10.769869, -2.337035] }, { "names":"first", "eastings":556568, "northings":446445, "description": "aijaskj jnrkajra skjanjanek ", "elevations": 5668, "LatLong":[10.387760, -0.448079] }, { "names":"first", "eastings":556568, "northings":446445, "description": "aijaskj jnrkajra skjanjanek ", "elevations": 5668, "LatLong":[9.104698, ..

Read more