Using the OSM layer, is it possible to customize SpatialReference ?
the vector tile basemap service
require(["esri/layers/OpenStreetMapLayer", "esri/Map", "esri/views/SceneView"], ( OpenStreetMapLayer, Map, SceneView ) => { const map = new Map({ ground: "world-elevation" }); const view = new SceneView({ map: map, container: "viewDiv" }); const osmLayer = new OpenStreetMapLayer(); map.add(osmLayer); });
Can you clarify what you're referring to when you say "OSM layer"? Do you mean the feature services? Or the vector tile basemap service?
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.