1

I'm new to ArcGIS looking to implement dynamic maps via javascript on my website which loads on a country profile page of the selected country.

The code below loads the world map with the selected country zoomed into, what i'd like is to have the country also in a different shade, just to make it stand out for the rest.

Any idea how to get this done? Thanks in advance

<script src="http://js.arcgis.com/3.7/"></script>
<script>
    var map;
    require(["esri/map", "dojo/domReady!"],
        function(Map) {
            map = new Map("mapDiv",
            {
                zoom: 6,
                basemap: "oceans",
                "extent": new esri.geometry.Extent({"xmin":/*west*/,"ymin":/*south*/,"xmax":/*east*/,"ymax":/*west*/,"spatialReference":{"wkid":4326}})
            });
        });
</script>
4

1 回答 1

1

您可以使用ArcGIS Server 10.1 中添加的DynamicLayer 。

有关详细信息,请参阅

于 2013-12-13T13:46:54.180 回答