Construct links to the map using querystrings instead of hashes, since it's more familiar to partners and is less prone to being mangled by actionkit emails
But continue to support hash params for backwards compatibility with links in the wild
If an akid= param is present, pass it through to actionkit event rsvp pages and event host pages in addition to source=
When sharing map on facebook, replace it with referring_akid=
Add source= passthrough to a few more links that were missing it
Fix map.peoplepower.org/#zipcode=11111 // map.peoplepower.org/?zipcode=11111 bug that was recently introduced
When zip or other filters are changed by end user, update querystring in the browser window with pushstate so current map UI state is always direct-linkable
Listen to popstate events so when back button is pressed, the map UI state changes too
Construct links to the map using querystrings instead of hashes, since it's more familiar to partners and is less prone to being mangled by actionkit emails
If an
akid=
param is present, pass it through to actionkit event rsvp pages and event host pages in addition tosource=
referring_akid=
source=
passthrough to a few more links that were missing itFix map.peoplepower.org/#zipcode=11111 // map.peoplepower.org/?zipcode=11111 bug that was recently introduced
When zip or other filters are changed by end user, update querystring in the browser window with pushstate so current map UI state is always direct-linkable
Listen to popstate events so when back button is pressed, the map UI state changes too