vicmora / MMM-GoogleMapsTraffic

A raspberry pi MagicMirror module that displays a map, centered at provided coordinates, with Google Maps Traffic information.
MIT License
90 stars 32 forks source link

ERROR on readme front page #39

Open nath042 opened 3 years ago

nath042 commented 3 years ago

there is a comma missing on the front page where it reads

var config = { modules: [ { module: 'MMM-GoogleMapsTraffic', position: 'top_left', config: { key: 'YOUR_KEY', lat: 37.8262306, lng: -122.2920096, height: '300px', width: '300px' styledMapType: "transparent", disableDefaultUI: true, backgroundColor: 'hsla(0, 0%, 0%, 0)', markers: [ { lat: 37.8262316, lng: -122.2920196, fillColor: '#9966ff' }, ], }, } ] }

Im new to github so dont know how to fix this myself yet. Or if i have the permissions to do so.

It should go as this instead for a quick start

{ module: "MMM-GoogleMapsTraffic", position: "top_left", config: { key: "YOUR_KEY", lat: 37.8262306, lng: -122.2920096, height: "300px", width: "300px", styledMapType: "transparent", disableDefaultUI: true, }, }

water031 commented 3 years ago

thanks for your comment.