Ejemplo n.º 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                CreateMap();

                WebToolBar1.WebMapID = "WebMap1";
                WebToolBar1.CreateStandardButtons();

                WebLegend1.WebMapID = "WebMap1";
            }
        }
Ejemplo n.º 2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072;
                CreateMap();

                WebToolBar1.WebMapID = "WebMap1";
                WebToolBar1.CreateStandardButtons();

                WebLegend1.WebMapID = "WebMap1";
            }
        }