Option to use modifier key + right click to link to a URL

518
2
07-06-2022 12:42 PM
GISAdmin39
New Contributor II

This is similar to the current implementation of positionsServiceUrl, which allows linking to a valid KML file. I propose a configurable option to allow linking to a custom URL scheme. 

The current "default" implementation in config.xml looks like:

<urlwithpos>http://127.0.0.1:8585/pointBasedService?lon=%LONGITUDE%&amp;lat=%LATITUDE%&amp;elv=%ELEVATION%&amp;output=.kml</urlwithpos>
 
It would be nice to have a configurable URL scheme along the lines of:
 
There are a couple of variations of that URL schema that might also work. 
2 Comments
Sharon_MU

Hi @GISAdmin39 ,

Thank you for the great idea ! 

I found the URL you posted was truncated.  it might be that I copied from the hyper link address as following:

https://clientsuppliedmappingserviceurl/maps/@?api=1&map_action=pano&viewpoint=LATITUDE%2C-LONGITUDE&heading=0&pitch=0&fov=120

 

If my understanding is right,  the decoded URL is as following:

https://clientsuppliedmappingserviceurl/maps/@?api=1&map_action=pano&viewpoint=LATITUDE,-LONGITUDE&heading=0&pitch=0&fov=120

 

 

General speaking,  ArcGIS Earth will check the parameters included by the "%" pair in the URL. (e.g. %LONGITUDE%, %LATITUDE%, %ELEVATION%).  So, ideally the request URL could be in a more flexible way by including the specific parameters.

 

Not sure if you have a chance to try the parameter in this format, viewpoint=%LATITUDE%,-%LONGITUDE% ?

If the service supports to return KML file,  it would work using the above parameter.

 

Please feel free to share your findings , questions or anything related I can help.

Looking forward to your feedback.  

 

Sharon Mu

jsphillips
Status changed to: Needs Clarification

@GISAdmin39 Did the information @Sharon_MU provided you help? Would like to hear your feedback so I can decide if this idea is still open. Thank you in advance.