Select to view content in your preferred language

Using other WMS source in Unity SDK

886
2
Jump to solution
01-03-2024 08:40 AM
AlexisDelforges1
New Contributor

Hello,

Was wondering if it's possible to have our own WMS imagery and terrain layers in the Unity SDK. I browsed through examples and forum but didn't not find this use case.

Furthermore, could I add geojson and geotiff layers on top of it using the ArcGis Online content ? Geojson seems pretty easy but geotiff seems not to be recognized in ArcGis Online.

Final result would be like this : 

AlexisDelforges1_0-1704299992259.png

AlexisDelforges1_1-1704300007170.png

Thanks in advance if someone could guide me if this is possible using the Unity SDK ! 
Best,

0 Kudos
1 Solution

Accepted Solutions
MasonGaw
Regular Contributor

Hi there!
Yes, you can use your own terrain layers, however I do not believe we currently support WMS layers. If you have your layer uploaded to arcgis online or some other hosting service, you can plug that link into the layer source. You can do this under the layer tab for normal layers, and for terrain under the terrain layer and click “use custom terrain”. 

as for adding geojson as a layer, we don’t directly supporting adding it through the map component or map creator UI. However you can use write your own c# code to do what you would like. We have a sample doing so located here. This should work with Geojson as long as the feature layer you are adding is a point layer. We don’t currently support other types of feature layers. I hope this helps. 
Mason

View solution in original post

0 Kudos
2 Replies
MasonGaw
Regular Contributor

Hi there!
Yes, you can use your own terrain layers, however I do not believe we currently support WMS layers. If you have your layer uploaded to arcgis online or some other hosting service, you can plug that link into the layer source. You can do this under the layer tab for normal layers, and for terrain under the terrain layer and click “use custom terrain”. 

as for adding geojson as a layer, we don’t directly supporting adding it through the map component or map creator UI. However you can use write your own c# code to do what you would like. We have a sample doing so located here. This should work with Geojson as long as the feature layer you are adding is a point layer. We don’t currently support other types of feature layers. I hope this helps. 
Mason

0 Kudos
AlexisDelforges1
New Contributor

Thanks for your guidance,

Will test the geojson sample and linking our source for terrain.

Best regards, Alexis

0 Kudos