cornet.magis

URL widget (extent tracking...)

Discussion created by cornet.magis on Feb 16, 2015
Latest reply on Apr 4, 2016 by larkp

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.

 

 

Hi,

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).

 

Github :

magis-nc/esri-webappbuilder-widget-url · GitHub

 

Last release :

Release Release v1.3.2 (debug) · magis-nc/esri-webappbuilder-widget-url · GitHub

 

And widget zip (release v1.3.2):

https://github.com/magis-nc/esri-webappbuilder-widget-url/archive/v1.3.2.zip

Outcomes