Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR on readme front page #39

Open
nath042 opened this issue Jan 4, 2021 · 1 comment
Open

ERROR on readme front page #39

nath042 opened this issue Jan 4, 2021 · 1 comment

Comments

@nath042
Copy link

nath042 commented Jan 4, 2021

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
Copy link

thanks for your comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants