Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed directions unitSystem option rendering
When the `$this->directions->request_options['units']` option is defined this code rendered ```javascript unitSystem: google.maps.DirectionsUnitSystem.1 ``` javascription code. This is wrong. Also 'imperial' and 'metric' string literals should be uppercase. Because `google.maps.DirectionsUnitSystem` contains `IMPERIAL` and `METRIC` constants but not `imperial` and `metric`.
- Loading branch information