Hi
Is there a widget that will allow a user to select another App from a listing and switch to that nominated app and open it to the same extent of the current app if the projections are the same?
cheers
Rod,
There is a web map switcher widget but it does not maintain the same extent.
Thanks Robert,
I'll take a look. Really need somthing that will open at the same extent if the projection is the same. I'm getting lots of requests for this.
cheers
We have created something like this. We did it for several internal apps. For each button the onclick function is something like the following.
funcApp_publicgisExtent: function () {
var app_url_parameter_map_extent = "https://matterhornwab.co.pierce.wa.us/publicgis/?extent=" + this.map.extent.xmin + "," + this.map.extent.ymin + "," + this.map.extent.xmax + "," + this.map.extent.ymax + ",2927";
window.open(app_url_parameter_map_extent, "_blank");
},
jimu.js/MapURLParamsHandler.js has code to handle an extent specification in the url already.