Update (2015/09/25) :
- correction of conflict between WAB >= 1.1 and the widget on load (extent from URL params)
Now, the widget is fully compatible with WAB standard URL params.
I made a widget to deal with URL parameters.
It tracks extent changes and put them in url.
Then the user can use his browser's return and forward buttons to go to previous or next extent.
Of course, if extent parameters are in url on map's loading, the map is centered.
The widget communicates with other widgets :
- listen to widgets "asking" to put parameters in url.
- send parameters changes to other widgets (when browser's return and forward buttons are used or when an other widget has asked to put parameters in url).
Last release :
And widget zip (release v1.3.2):