How to start with EXT.NET.UX

  1. #1

    How to start with EXT.NET.UX

    Good afternoon, im trying to insert a gmap in my application by codebehind, and i can't get it. My code is:

               
                Ext.Net.UX.GMapPanel GMapPanel1 = new Ext.Net.UX.GMapPanel();
                GMapPanel1.ID = "GMapPanel1";
                GMapPanel1.Width = 800;
                GMapPanel1.Height = 600;
                GMapPanel1.MapControls.GLargeMapControl = true;
                GMapPanel1.MapControls.GHierarchicalMapTypeControl = true;
                GMapPanel1.MapConfiguration.DoubleClickZoom = true;
                GMapPanel1.MapConfiguration.ContinuousZoom = true;
                GMapPanel1.MapConfiguration.ScrollWheelZoom = true;
                Ext.Net.UX.Marker mk = new Ext.Net.UX.Marker();
                mk.Lat = 48.858281;
                mk.Lng = 2.294533;
                GMapPanel1.Markers.Add(mk);
                GMapPanel1.CenterMarker.Lat = 48.858281;
                GMapPanel1.CenterMarker.Lng = 2.294533;
                
               Ext.Net.Window win = new Ext.Net.Window("mi mapa");
                win.ID = "win";
                win.Height = 600;
                win.Width = 800;
    
                win.Render();
                GMapPanel1.Render(win);
    And also I tried with

    win.Items.Add(GMapPanel1);
    I get the error : GMap2 is not defined

    Thanks
    Last edited by nailuj-nallim; Jun 09, 2011 at 10:15 PM. Reason: Now im using Ext.Net.UX.GMapPanel
  2. #2
    Hi,

    Did you add the Ext.Net.UX.dll to the references and attach the namespace for the cs file?

Similar Threads

  1. How to hide start button in Ext.Net Desktop?
    By archana in forum 1.x Help
    Replies: 1
    Last Post: Oct 22, 2012, 10:53 AM
  2. Desktop Start Button
    By Dominik in forum 1.x Help
    Replies: 3
    Last Post: Oct 22, 2012, 10:51 AM
  3. unable to start Ext.Net.DLL
    By vbmathew in forum 2.x Help
    Replies: 1
    Last Post: Mar 22, 2012, 7:26 AM
  4. Start Menu Position
    By mono in forum 1.x Help
    Replies: 1
    Last Post: Mar 07, 2009, 11:54 AM
  5. Well, I want to start a project...
    By fabiomarcos in forum 1.x Help
    Replies: 0
    Last Post: Nov 19, 2008, 2:21 PM

Posting Permissions