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:
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
@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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.