<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Custom BaseMap and Elevation are not visible in ArcGIS Maps SDK for Unity Questions</title>
    <link>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/custom-basemap-and-elevation-are-not-visible/m-p/1540855#M983</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a question. I have a webscene with the 4326 coordinate system. With a custom elevation and basemap. See link below:&lt;/P&gt;&lt;P&gt;&lt;A href="https://hasuniversity.maps.arcgis.com/home/webscene/viewer.html?webscene=9f46292852044481a2b789029eda463c" target="_blank"&gt;https://hasuniversity.maps.arcgis.com/home/webscene/viewer.html?webscene=9f46292852044481a2b789029eda463c&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Now i want to use the custom basemap and elevation url from the webscene in my code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;public ArcGISPoint geographicCoordinates = new ArcGISPoint(24.743406, 59.433131, 0, ArcGISSpatialReference.WGS84());&lt;/LI-CODE&gt;&lt;LI-CODE lang="c"&gt;public void CreateArcGISMap()
	{
if (APIKey == "")
{
Debug.LogError("An API Key must be set on the SampleAPIMapCreator for content to load");
}

// Create the Map Document
// You need to create a new ArcGISMap whenever you change the map type
arcGISMap = new Esri.GameEngine.Map.ArcGISMap(arcGISMapComponent.MapType);

// Set the Basemap
//arcGISMap.Basemap = new Esri.GameEngine.Map.ArcGISBasemap(Esri.GameEngine.Map.ArcGISBasemapStyle.ArcGISImagery, APIKey);
arcGISMap.Basemap = new Esri.GameEngine.Map.ArcGISBasemap("https://tiles.arcgis.com/tiles/OPBDDktsPZ4DVPSk/arcgis/rest/services/Scene3_WGS1984_WTL1/MapServer", APIKey);

// Create the Elevation
//arcGISMap.Elevation = new Esri.GameEngine.Map.ArcGISMapElevation(new Esri.GameEngine.Elevation.ArcGISImageElevationSource("https://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer", "Elevation", ""));
arcGISMap.Elevation = new Esri.GameEngine.Map.ArcGISMapElevation(new Esri.GameEngine.Elevation.ArcGISImageElevationSource("https://tiles.arcgis.com/tiles/OPBDDktsPZ4DVPSk/arcgis/rest/services/Scene3_WGS1984_WEL/ImageServer", "Elevation", ""));&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But i get a empty map with no errors.&lt;/P&gt;&lt;P&gt;When i use this i it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;// Set the Basemap
		arcGISMap.Basemap = new Esri.GameEngine.Map.ArcGISBasemap(Esri.GameEngine.Map.ArcGISBasemapStyle.ArcGISImagery, APIKey);
		//arcGISMap.Basemap = new Esri.GameEngine.Map.ArcGISBasemap("https://tiles.arcgis.com/tiles/OPBDDktsPZ4DVPSk/arcgis/rest/services/Scene3_WGS1984_WTL1/MapServer", APIKey);

// Create the Elevation
arcGISMap.Elevation = new Esri.GameEngine.Map.ArcGISMapElevation(new Esri.GameEngine.Elevation.ArcGISImageElevationSource("https://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer", "Elevation", ""));
//arcGISMap.Elevation = new Esri.GameEngine.Map.ArcGISMapElevation(new Esri.GameEngine.Elevation.ArcGISImageElevationSource("https://tiles.arcgis.com/tiles/OPBDDktsPZ4DVPSk/arcgis/rest/services/Scene3_WGS1984_WEL/ImageServer", "Elevation", ""));&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think it's something with the basemap.&lt;/P&gt;&lt;P&gt;Can someone help me?&lt;/P&gt;</description>
    <pubDate>Fri, 20 Sep 2024 12:11:39 GMT</pubDate>
    <dc:creator>WH1981</dc:creator>
    <dc:date>2024-09-20T12:11:39Z</dc:date>
    <item>
      <title>Custom BaseMap and Elevation are not visible</title>
      <link>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/custom-basemap-and-elevation-are-not-visible/m-p/1540855#M983</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a question. I have a webscene with the 4326 coordinate system. With a custom elevation and basemap. See link below:&lt;/P&gt;&lt;P&gt;&lt;A href="https://hasuniversity.maps.arcgis.com/home/webscene/viewer.html?webscene=9f46292852044481a2b789029eda463c" target="_blank"&gt;https://hasuniversity.maps.arcgis.com/home/webscene/viewer.html?webscene=9f46292852044481a2b789029eda463c&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Now i want to use the custom basemap and elevation url from the webscene in my code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;public ArcGISPoint geographicCoordinates = new ArcGISPoint(24.743406, 59.433131, 0, ArcGISSpatialReference.WGS84());&lt;/LI-CODE&gt;&lt;LI-CODE lang="c"&gt;public void CreateArcGISMap()
	{
if (APIKey == "")
{
Debug.LogError("An API Key must be set on the SampleAPIMapCreator for content to load");
}

// Create the Map Document
// You need to create a new ArcGISMap whenever you change the map type
arcGISMap = new Esri.GameEngine.Map.ArcGISMap(arcGISMapComponent.MapType);

// Set the Basemap
//arcGISMap.Basemap = new Esri.GameEngine.Map.ArcGISBasemap(Esri.GameEngine.Map.ArcGISBasemapStyle.ArcGISImagery, APIKey);
arcGISMap.Basemap = new Esri.GameEngine.Map.ArcGISBasemap("https://tiles.arcgis.com/tiles/OPBDDktsPZ4DVPSk/arcgis/rest/services/Scene3_WGS1984_WTL1/MapServer", APIKey);

// Create the Elevation
//arcGISMap.Elevation = new Esri.GameEngine.Map.ArcGISMapElevation(new Esri.GameEngine.Elevation.ArcGISImageElevationSource("https://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer", "Elevation", ""));
arcGISMap.Elevation = new Esri.GameEngine.Map.ArcGISMapElevation(new Esri.GameEngine.Elevation.ArcGISImageElevationSource("https://tiles.arcgis.com/tiles/OPBDDktsPZ4DVPSk/arcgis/rest/services/Scene3_WGS1984_WEL/ImageServer", "Elevation", ""));&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But i get a empty map with no errors.&lt;/P&gt;&lt;P&gt;When i use this i it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;// Set the Basemap
		arcGISMap.Basemap = new Esri.GameEngine.Map.ArcGISBasemap(Esri.GameEngine.Map.ArcGISBasemapStyle.ArcGISImagery, APIKey);
		//arcGISMap.Basemap = new Esri.GameEngine.Map.ArcGISBasemap("https://tiles.arcgis.com/tiles/OPBDDktsPZ4DVPSk/arcgis/rest/services/Scene3_WGS1984_WTL1/MapServer", APIKey);

// Create the Elevation
arcGISMap.Elevation = new Esri.GameEngine.Map.ArcGISMapElevation(new Esri.GameEngine.Elevation.ArcGISImageElevationSource("https://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer", "Elevation", ""));
//arcGISMap.Elevation = new Esri.GameEngine.Map.ArcGISMapElevation(new Esri.GameEngine.Elevation.ArcGISImageElevationSource("https://tiles.arcgis.com/tiles/OPBDDktsPZ4DVPSk/arcgis/rest/services/Scene3_WGS1984_WEL/ImageServer", "Elevation", ""));&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think it's something with the basemap.&lt;/P&gt;&lt;P&gt;Can someone help me?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2024 12:11:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/custom-basemap-and-elevation-are-not-visible/m-p/1540855#M983</guid>
      <dc:creator>WH1981</dc:creator>
      <dc:date>2024-09-20T12:11:39Z</dc:date>
    </item>
  </channel>
</rss>

