Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ltng: require styles = "/ resource / leaflet / leaflet.css"
- scripts = "{! join (',', '/resource/leaflet/leaflet.js',
- '/resource/routing/leaflet-routing/src/control.js')}"
- afterScriptsLoaded = "{! c.jsLoaded}" />
- L.Routing.control ({
- waypoints: [L.latLng (57.74, 11.94), L.latLng (57.6792, 11.949)]
- }). addTo (map);
Add Comment
Please, Sign In to add comment