Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sp4ceman/MMM-googlemaps
a module for the magic mirror to draw a google map between two locations
https://github.com/sp4ceman/MMM-googlemaps
Last synced: 23 days ago
JSON representation
a module for the magic mirror to draw a google map between two locations
- Host: GitHub
- URL: https://github.com/sp4ceman/MMM-googlemaps
- Owner: sp4ceman
- License: gpl-3.0
- Created: 2016-12-28T20:45:13.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-28T21:34:56.000Z (almost 8 years ago)
- Last Synced: 2024-08-04T10:03:16.182Z (4 months ago)
- Language: JavaScript
- Size: 16.6 KB
- Stars: 21
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mmm - **MMM-GoogleMaps**
README
# MMM-googlemap
a module for the magic mirror to draw a google map between two locations## install
copy the /googlemap folder into your modules. if you put it in a subfolder remember to double check the module path in the config section.## config
```
{
module: 'googlemap',
position: 'position',
config: {
apikey: 'your_api_key',
origin: 'your_origin_here',
destination: 'your_destination_here',
}
},
```
## random
https://github.com/desertblade/iFrame
credit to this module for showing me how simply you could use an iFrame to load whatever you want.https://developers.google.com/maps/documentation/embed/
this is the url for the google maps embed api, which is handy for seeing how to format your addresses and stuff