Proper Analyst Refresh

The previous code asked whether there was a better way to trigger the refresh. We use leaflet's setUrl which is meant precisely for what we're doing here.