A raspberry pi MagicMirror module that displays a map, centered at provided coordinates, with Google Maps Traffic information.
88
stars
32
forks
source link
Google Maps API does not support custom mapStyle anymore #46
Open
JakeBinney opened 1 year ago
Google Maps API has transitioned to using a user-defined
mapId
per current documentationRecommend deprecating the existing
mapStyle
config and replacing withmapId
.mapId
is a 16-character hex identifier to a user-defined map style on the Maps PlatformExample API call replacing
mapStyle
withmapId
in MMM-GoogleMapsTraffic.js:This requires a minor update to
defaults
object to includemapId
, and an update to config.js call to utilizemapId