Пример #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            GMap1.setCenter(new GLatLng(41, 2), 6);

            GMap2.Height = 456;
            GMap2.Width  = 300;
            GMap2.setCenter(new GLatLng(20, 15), 2);
        }
Пример #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            GMap1.setCenter(new GLatLng(40, 1));
            GMap2.setCenter(new GLatLng(39, 2));

            GMap1.Add(new GControl(GControl.extraBuilt.TextualCoordinatesControl));
            GMap1.Add(new GControl(GControl.extraBuilt.MarkCenter));
            GMap2.Add(new GControl(GControl.extraBuilt.TextualCoordinatesControl));
            GMap2.Add(new GControl(GControl.extraBuilt.MarkCenter));

            TabPanel1.OnClientClick = GMap1.getChangeHiddenStateFunction();
            TabPanel3.OnClientClick = GMap2.getChangeHiddenStateFunction();

            TabContainer1.ActiveTabIndex = 0;
        }