Creating button to marker accidents on Route
Applying corrections on button to sinalize accidents
Enable function to signal accidents just after trace route.
Atomizing methods to sinalize acccidents on routes controller
Atomizing methods on google maps api and applying some corrections
Adjustments in the Google Maps API and a correction in the routes interface
Adding image to the marker
Fixing button to sinalize accidents when route is changed
Hiding button 'Sinalizar acidentes' while route is not traced
Creating method to slice the route in patches
Signed-off-by: Leonardo Cambraia <leoccambraia@yahoo.com.br>
Creating method to get start and ending coordinates of each patch
Adding the distance of patch to coordinates of patch object
Count the accidents in a patch
Draggable route option disabled
Identifying what patch have most accidents
Identifying all coordinates of patchs most dangerous
test if get accidents longitude and latitude in route
Organizing accidents tests
Correction in JS syntax
Merge branch 'US03' of https://github.com/rodrigo14/pe-na-estrada into dev