manilac

how to set the web mercator projection

Discussion created by manilac on Aug 17, 2013
Latest reply on Aug 18, 2013 by zj_zou
Hi,

I am new to ArcGis . I am using the basemap from ArcGis for my project. In fact I have created a very simple map using the code :

<script>
        console.log('abc');
var map;
  require(["esri/map", "dojo/domReady!"], function(Map) {
    map = new Map("mapDiv", {
      center: [-56.049, 38.485],
      zoom: 3,
      basemap: "topo"
    });
  });
    </script>

Now I would like to define that this map should use web mercator projection. How can I do that ? Is there also some projection by default?

Thanks,
Manila

Outcomes