A module to show the quickest route to a specified destination for the MagicMirror² platform.
Contribution welcome.
If you like this module and want to thank, please rate this repository with a star or buy me a coffee :-)
tbd
-
Navigate to the
MagicMirror/modules
directory and execute the following commandgit clone https://github.com/jalibu/MMM-Google-Destination.git
-
Get your Google Maps API Key.
-
Add the module configuration into the
MagicMirror/config/config.js
file (sample configuration):{ module: "MMM-Google-Destination", position: "top_left", config: { updateIntervalInSeconds: 60, apiKey: "YOUR_API_KEY", height: 400, width: 400, start: 'Heidelberg', destination: 'Mainz', expectedDurationInMinutes: null, routeColor: '#0088FF' } }
Option | Description |
---|---|
updateIntervalInSeconds |
How often should the route be recalculated?. Type: int Default value: 60 |
This module is written in TypeScript and compiled with Rollup.
The source files are located in the /src
folder.
Compile target files with npm run build
.
Contribution for this module is welcome!