ESRI Web scene 3rd Party Maps integration
I am trying to integrate an ESRI Web scene into Geocortex Essentials. We are running HTML 5 Viewer 2121 and Geocortex Essentials 4110.
I saw this video describing what I am trying to achieve (starting at 1:47): https://www.geocortex.com/export-support-and-new-third-party-map-integration-widgets/
We already implemented BingMaps and GoogleMaps without issue but I can't find the procedure to integrate ESRI Web scene.
Is there any documentation regarding this ESRI Web scene 3rd Party Maps integration?
Thanks,
Charlie
0
-
It's in the sample site LA_County
\Sample Sites\LA_County\Viewers\LA_Viewer\VirtualDirectory\Resources\ThirdPartyMaps\WebScene.html
There is no documentation on docs.geocortex.com.0 -
How can I configure the web scene for the viewer?
I have tried but still unable to figure that out.0 -
See in te sample site how it is configured in the Integration module in the Desktop viewer configuration file { "id": "webScene", "displayName": "3D WebScene", "uri": "{ViewerConfigUri}../../ThirdPartyMaps/WebScene.html", "viewpointIndicatorUri": "Resources/Images/Icons/location-direction-green-32.png" }, In the WebScene.html you should configure the WebSceneId (from your portal) I found this webscene sample works only for geographic coordinate systems, not for projected coordinate systems. 0 -
Thanks Nico for your help. I did modify the HTML and Desktop.Json but the viewer is failing to display the webscene. After investigation, it looks like the widget is pointing to arcgis.com (https://www.arcgis.com/sharing/rest/content/items/"websceneID") instead of our ArcGIS Entreprise URL. I am looking at changing that but I have been unsuccessful at the moment. Any idea where this setting is located? 0 -
Yes the WebSceneId is defined in WebScene,html, you should configure it there. /** * Fill this out with the ID of the web scene to use in this control. * It may be secured as long as the AGOL or portal user logged in to Essentials can also view this item. */ var webSceneId = "63c4d05d0b5e4d5990874d6c194c4794"; 0 -
Hello,
I have configured the web scene. In the viewer the basemap is showing. The 3D is not coming. In the console an error is getting generated- token required. Any idea on how to pass the token for the portal scene item?0 -
How is your viewer secured? AGOL/Portal authentication? Can this user access the webscene? Does it work if you share the web scene publicly? 0 -
Hi Charlie,
Did it works with you at the end? we are try to configure it but end with no results.
Best0 -
Hi Majdoleen, We have been successful configuring it. My main issue was coming from the authentication of the webscene. We are using Windows Authenticated Credentials to log in Geocortex. The webscene needed to be signed in with our Portal account. We just signed in the viewer with our Portal account and it worked. We are investigating to run both authentication methods (windows and Portal) to have a single sign in experience. Where is your issue? 0 -
Thank you Charlie,
I think my issue is the same as you, we are using windows Authenticated credentials to log in Geocortex, so this case we need to change the authentication methods!! I will give this a try, one more question: may you please tell me where to edit on the scene file (only the id of the scene map, or their is another configuration? from where we get this id?).
Thank you in advance0 -
one more thing, my map is public, do I need to change the authentication method in this case??
Best
Majdoleen0 -
Hi Madjoleen,
You need to edit two files:
- 3rdPartyMaps file with the ID of your webscene. Which you will find in the URL of your webscene (the part after ID=...);
- the Desktop.json from your viewer in the external components section:
{
"id": "webScene",
"displayName": "3D Webscene",
"uri": "Resources/3rdPartyMaps/WebScene.html",
"viewpointIndicatorUri": "YOUR ICON LOCATION"
}
And in the Map Context Menu section if you like to add the right click option.
If your webscene is public Geocortex still need to know where to look for your app. GX needs to be sign in to your Portal (AGOL or Entreprise). This method reference an ID not an URL so you need to sign in to your Portal.0 -
Hi All,
I've just been looking at your thread from a little while ago, and was wondering whether it would be technically possible to bypass the initial authentication with Portal/AGOL to still access the web scene using LinkedMaps?
For example, is it possible to parse an API key with the URL of the web scene (I understand that you 'may' be able to do something like that using an ArcGIS Developer account?), or be prompted to enter AGOL credentials when selecting the linked map?
Any advice would be appreciated.
Thanks
Nevin
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
13 kommentarer