Way Back Feature Broken

Hello. FYI, way back feature is no longer working. Can hear the music but the map doesn’t work.

Thanks,
Nicoletta

This feature broke when Google Maps changed their access…

However there are 3rd party sites which analyse the data here!

https://public.tableau.com/shared/58XBMCGJ5?:display_count=yes

These may do what you want…

I miss this. I tried to use it today and came here after trying two different browsers.

The change to MapBox changed the Marker API.
The WayBack code still appears to use the Google Maps Marker.setVisible() method
.https://developers.google.com/maps/documentation/javascript/reference/marker#Marker.setVisible
MapBox Marker doesn’t have it.
https://docs.mapbox.com/mapbox-gl-js/api/markers/#marker-instance-members

Maybe it could simply be changed to control the marker’s HTML element visibility directly.
MapBox Marker has a getElement method to retrieve the HTML element.

The wayback “start” operation makes all the markers invisible as follows:
o.a.each(this.superchargers, (function(t, e) {
e.marker.setVisible(!1)
}
Using getElement() this could be changed to:
o.a.each(this.superchargers, (function(t, e) {
e.marker.getElement().style.visibility = “hidden”
}
Then the replay uses the “showNextMarker” operation. The function is:
this.superchargers[this.index].marker.setVisible(!0)
which could be changed to
this.superchargers[this.index].marker.getElement().style.visibility= “visible”

1 Like