Combine Leaflets

2 posts / 0 new
Last post
AHerd
Combine Leaflets

I have am still new, but I can't seem to figure this out.  Is there a way to combine leaflets?

I would like to combine the Geocoding, Routing, and Traffic Layers.


jonathan
You can use as many of the
You can use as many of the Leaflet Plugins as you need.  If you want to use the Maps, Geocoding, and Routing plugins together, you would need to include each of those libraries in your project. <script src="http://www.mapquestapi.com/sdk/leaflet/v1.s/mq-map.js?key=YOUR_KEY_HERE">/></script> <script src="http://www.mapquestapi.com/sdk/leaflet/v1.s/mq-routing.js?key=YOUR_KEY_HERE">/></script> <script src="http://www.mapquestapi.com/sdk/leaflet/v1.s/mq-geocoding.js?key=YOUR_KEY_HERE">/></script>