Add rider id to marker popup. #270

This commit is contained in:
Korina Cordero 2019-12-05 05:30:13 +00:00
parent 734aaac320
commit 93692415a6

View file

@ -36,7 +36,7 @@ function mapCreate(div_id, center_lat, center_lng, map_type, zoom) {
var long = point[1];
// create markers
var marker = L.marker([lat, long]);
var marker = L.marker([lat, long]).bindPopup(rider_id);
// add marker/layer to layergroup
ridersLayerGroup.addLayer(marker);