Select to view content in your preferred language

How to change a basemap to map in EPSG:3826 format

498
1
Jump to solution
12-20-2023 11:14 PM
AbramhumHsu
Emerging Contributor

Hi:

I am a newbie to ArcGIS javascript. I meet a problem about develop a map application. 

After test and try, I found there must be set basemap in map class first, like following:

  const map = new Map({
                    basemap: "dark-gray" // basemap styles service
                });
But since the project I need to develop now, the basemap is not in gallery, so how to build a basemap first via
tileLayer, and then include this data into basemap, such as following:
  const map = new Map({
                    basemap: "my EPSG:3826 map" // basemap styles service
                });

How to make that, any instructions is highly appreciated, thanks a lot.



0 Kudos
1 Solution

Accepted Solutions
JoelBennett
MVP Regular Contributor

It appears the fourth item listed under the "Creating a Basemap" section of the Basemap module documentation is what you're looking for.

View solution in original post

1 Reply
JoelBennett
MVP Regular Contributor

It appears the fourth item listed under the "Creating a Basemap" section of the Basemap module documentation is what you're looking for.