jalibu/MMM-RAIN-MAP

Is there a way to bring back the zoom in/zoom out?

Closed this issue · 2 comments

I like the feature in the previous version where the map would zoom into a location for a few frames and then zoom back out. Can we get this back? I don't see a way to do it with the new config.

just duplicate a mapPosition, change the zoom level and the number of loops

mapPositions: [
  { lat: 49.41, lng: 8.717, zoom: 9, loops: 1 },
  { lat: 49.41, lng: 8.717, zoom: 5, loops: 3 },
],