How can I set my spatial reference to the base map in arcgis api. I want to change the default spatial reference.

  • how can i design a map of an country called aruba in the world map .please help me out
    – user
    Dec 12 '17 at 13:18
  • If you have a new question, please ask it by clicking the Ask Question button. Include a link to this question if it helps provide context. - From Review
    – aldo_tapia
    Dec 12 '17 at 13:42

The spatial reference for a map is defined either by the extent passed to the map constructor or by the first layer added to the map. Checkout the any projection sample to see how to specify different spatial references for a map.

If you're using the basemap or center and zoom options with the map constructor, the map's spatial reference will be web mercator.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.