Calculate the % of a polyline which passes over user-defined polygons through JS Google Maps.
You need to insert your google map API here in order to be able to use Google Map services. <script src="https://maps.googleapis.com/maps/api/js?key=your_google_api_key&libraries=geometry&libraries=drawing"></script>
The script uses code from AlbertSun's JavaScript Geometry and the js_col library.