Hyperlink to open Geocortex site and zoom to a specific location
Hi all,
I'm wondering, is there a way to do the following:
Is it possible to create a hyperlink URL that can be embedded in a PDF, that opens my Geocortex site in a browser and provided the user has been granted permissions to access my site, automatically zooms the map to a specific location (I have feature ID and X/Y coordinates available).
Thank you!
Running Geocortex Viewer for HTML 5
0
-
Hi Lisa,
Have a look at the URL Parameters section in the following page of documentation:
https://docs.geocortex.com/essentials/gvh/latest/admin-help/Default.htm#gvh/admin/viewer-urls.htm
To centre the map over a single pair of coordinates, you can use the 'center' parameter:
http://MyServer.com/Html5Viewer/Index.html?center=-114.7993,30.9820,4326
For a bounding box, use the 'extent' parameter:
http://MyServer.com/Html5Viewer/Index.html?extent=1441172.484,550015.006,1456136.010,537754.744
To zoom to a particular feature, you will need to create a workflow, trigger it using the 'run' parameter and pass the appropriate argument (i.e. feature ID):
http://MyServer.com/Html5Viewer/Index.html&run=FindParcel&pid=025031160
Please sign in to leave a comment.
Comments
1 comment