Em-Ant / fcc-options-app

Options Inc. web app development
Other
12 stars 8 forks source link

Info window still open on vehicle route page #73

Closed andrealonzo closed 8 years ago

andrealonzo commented 8 years ago

If an infowindow is open in the main map (you have clicked a consumer) then you push 'configure route', the infowindow is still opened in vehicle route.

This is an unintended consequence of using the same map state between the map page and map route page.

I guess when the route page is loaded, we can clear out all infowindows.

andrealonzo commented 8 years ago

fixed with ac4bc685ca9e9d42816e8e295f6ac8df5f296ad8