how to add marker on google map layer for leaflet.js

41 views
Skip to first unread message

valenti...@gmail.com

unread,
Feb 1, 2016, 1:49:16 AM2/1/16
to Leaflet
how to add marker on google map layer for leaflet.js 


 var map = new L.Map('map', { center: new L.LatLng(51.51, -0.11), zoom: 9 });
            var googleLayer = new L.Google('ROADMAP');
            map.addLayer(googleLayer);


layer has been added in the map, its showing google map layer, but how to add different markers on this layer.

thanks
Reply all
Reply to author
Forward
0 new messages