I followed the C# maps API tutorial from Arcgis. I am trying to render the OSM 3D buildings layer on top of the basemap. The buildings dont show unless I remove the basemap. Here the code:
Apologies for the low quality photo still figuring out how to take a ss on mac. function of interest is CreateArcMap3D()
Solved! Go to Solution.
I see you're using the map type local, note that currently "The OSM 3D Buildings layer will work in global scenes when using the geographic coordinate system WGS84 or the projected coordinate system Web Mercator (Auxiliary Sphere), and in local scenes when using the geographic coordinate system WGS84." (Release notes | ArcGIS Maps SDK for Unity | ArcGIS Developers).
I suspect that when you include the basemap, the map is assuming the spatial reference of the basemap, which is Web Mercator, and then cannot support displaying the global buildings layer. Note you should see layer load or view state warnings to indicate this. This is the default behavior for establishing the spatial reference of the map unless you explicitly set this property. Are you able to use the global map mode?
Hi, sorry, I can not help you with your problem, but you can take Screenshots on Mac using Cmd + shift + 5 for a menu or Cmd + Shift + 4 to pick an area. Cmd + Shift + 3 makes a screenshot of the whole screen.
I see you're using the map type local, note that currently "The OSM 3D Buildings layer will work in global scenes when using the geographic coordinate system WGS84 or the projected coordinate system Web Mercator (Auxiliary Sphere), and in local scenes when using the geographic coordinate system WGS84." (Release notes | ArcGIS Maps SDK for Unity | ArcGIS Developers).
I suspect that when you include the basemap, the map is assuming the spatial reference of the basemap, which is Web Mercator, and then cannot support displaying the global buildings layer. Note you should see layer load or view state warnings to indicate this. This is the default behavior for establishing the spatial reference of the map unless you explicitly set this property. Are you able to use the global map mode?
@MichaelBranscomb I use the local map with WGS84 (WKID 4326). But the rendering of the OSM buildings only works when switching to global. What am I missing? thank you.
I use this basemap: https://www.arcgis.com/home/item.html?id=983b312ebd9b4d15a02e00f50acdb1c1
I cannot switch to global because I want to use a tableTop map.
I think I got it. I have to use a WGS8 basemap like https://www.arcgis.com/home/item.html?id=2c2be6e056a54901965be11752b83dfe
Setting the map type to global worked for me, thanks