Select to view content in your preferred language

create your own custom basemap

199
1
08-27-2024 11:23 PM
emreaktas1
Regular Contributor

hello esri friendship

i want to use my own satellite image as a basemap. I am not sure if I am doing this correctly. How can I destroy a grid model like the one you see in the picture after adding the data.
How can I set the coordinates of my scene to a certain range (like max-x, min-x, max-y , min-y).

emreaktas1_0-1724826077360.png

 

emreaktas1_1-1724826170142.png

 

 

 

0 Kudos
1 Reply
ThomasKnabl
Esri Contributor

Hi,

You can get "rid" of the grid by either:

- Defining the ground surface color (works in local AND global viewingMode): https://developers.arcgis.com/javascript/latest/api-reference/esri-Ground.html#surfaceColor and https://developers.arcgis.com/javascript/latest/api-reference/esri-Color.html

view.map.ground.surfaceColor = new Color("white");
- Use the clippingArea on the SceneView (in local viewingMode only): https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#clippingArea
 
 
Best,
Thomas
0 Kudos