The r360-core.js (concatenated and minified) and the r360-core-src.js (human readable), contain all the neccessary classes to parse the result from the Route360° service to generate the polygon SVG. It has no dependency to any mapping library (Leaflet or Google Maps).
The r360-leaflet.js (concatenated and minified) and the r360-leaflet-src.js (human readable), contain all the neccessary classes to to display the polygons on a Leaflet map. Addionally all the map controls examplified in the examples section below are contained in this library. You have to also include the leaflet.js and leaflet.css files.
The r360-google.js (concatenated and minified) and the r360-google-src.js (human readable), contain all the neccessary classes to to display the polygons on a Google Maps map.You have to also include the the Google Maps API V3 library.
Download the R360°-library
You can download the latest version of our library here. Alternatively, you can install the libray using bower, just enter
bower install route360 --save.