GMAP panel examples

Page 1 of 2 12 LastLast
  1. #1

    GMAP panel examples

    <div class="forum-post">
    Hi !

    I really need some GMAP example and I cannot find it in the Examples Explorer.

    The link "http://sandbox.ext.net/GMap/Default.aspx" was removed and I it accessible no more. I cannot access SVN as well.

    If there someone here that could send some GMAP example I would thank very much.

    Thank´s

    Fabio










    <div class="forum-post-footer">



  2. #2

    RE: GMAP panel examples

    Hi,

    <%@ Page Language="C#" %>
    
    <%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %>
    <%@ Register Assembly="Coolite.Ext.UX" Namespace="Coolite.Ext.UX" TagPrefix="ux" %>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
        <title>Untitled Page</title>
    </head>
    <body>
        <form id="form1" runat="server">
            <ext:ScriptManager runat="server" ID="ScriptManager1" />
            
            <ext:Window 
                ID="PanWin"
                runat="server" 
                Title="GPanorama Window"
                Width="400"
                Height="300"
                X="480"
                Y="60">
                <Body>
                    <ext:FitLayout runat="server">
                        <ux:GMapPanel runat="server" GMapType="Panorama">
                            <CenterMarker Lat="42.345573" Lng="-71.098326" />
                        </ux:GMapPanel>
                    </ext:FitLayout>
                </Body>
            </ext:Window>
            
            <ext:Window 
                ID="MapWin"
                runat="server" 
                Title="GMap Window"
                Width="400"
                Height="400"
                X="40"
                Y="60">
                <Body>
                    <ext:FitLayout ID="FitLayout1" runat="server">
                        <ux:GMapPanel runat="server" ZoomLevel="14" GMapType="Map">
                                <MapControls GSmallMapControl="true" />
                                <CenterMarker GeoCodeAddress="4 Yawkey Way, Boston, MA, 02215-3409, USA">
                                    <Options Title="Fenway Park" />
                                </CenterMarker>
                                <Markers>
                                    <ux:Marker Lat="42.339641" Lng="-71.094224">
                                        <Options Title="Boston Museum of Fine Arts" />
                                    </ux:Marker>
                                    
                                    <ux:Marker Lat="42.339419" Lng="-71.09077">
                                        <Options Title="Northeastern University" />
                                    </ux:Marker>
                                </Markers>
                            </ux:GMapPanel>
                    </ext:FitLayout>
                </Body>
            </ext:Window>
            
            <ext:Window 
                ID="mapParis"
                runat="server" 
                Title="La Tour Eiffel"
                Width="600"
                Height="600">
                <Body>
                    <ext:FitLayout ID="FitLayout2" runat="server">
                        <ux:GMapPanel ID="GMapPanel1" runat="server" ZoomLevel="16"  GMapType="Map">
                            <MapControls GSmallMapControl="true" />
                            <MapConfiguration ScrollWheelZoom="true" />
                            <CenterMarker GeoCodeAddress="La Tour Eiffel">
                                <Options Title="La Tour Eiffel" />
                            </CenterMarker>
                            <Markers>
                                <ux:Marker Lat="48.858281" Lng="2.294533">
                                    <Options Title="La Tour Eiffel" />
                                </ux:Marker>
                            </Markers>
                        </ux:GMapPanel>
                    </ext:FitLayout>
                </Body>
            </ext:Window>
            <ext:ViewPort runat="server" ID="ViewPort1">
                <Body>
                    <ext:BorderLayout runat="server" ID="BL1">
                        <Center>
                            <ux:GMapPanel runat="server" ID="CenterMap" Title="GMap Panel" ZoomLevel="14" GMapType="Map">
                                <MapControls GHierarchicalMapTypeControl="true" GLargeMapControl="true" />
                                <MapConfiguration DoubleClickZoom="true" ContinuousZoom="true" GoogleBar="true" ScrollWheelZoom="true" /> 
                                <CenterMarker GeoCodeAddress="4 Yawkey Way, Boston, MA, 02215-3409, USA">
                                    <Options Title="Fenway Park" />
                                </CenterMarker>
                                <Markers>
                                    <ux:Marker Lat="42.339641" Lng="-71.094224">
                                        <Options Title="Boston Museum of Fine Arts" />
                                        <Listeners>
                                            <Click Handler="Ext.Msg.alert('Its fine', 'and its art.');" />
                                        </Listeners>
                                    </ux:Marker>
                                    <ux:Marker Lat="42.339419" Lng="-71.09077">
                                        <Options Title="Northeastern University" />
                                    </ux:Marker>
                                </Markers>
                                <Buttons>
                                    <ext:Button runat="server" ID="PanButton" Text="Fenway Park StreetView">
                                        <Listeners>
                                            <Click Handler="#{PanWin}.show();" />
                                        </Listeners>
                                    </ext:Button>
                                    <ext:Button runat="server" ID="MapButton" Text="Fenway Park Map Window">
                                         <Listeners>
                                            <Click Handler="#{MapWin}.show();" />
                                        </Listeners>
                                    </ext:Button>
                                </Buttons>
                            </ux:GMapPanel>
                        </Center>
                    </ext:BorderLayout>
                </Body>
            </ext:ViewPort>
        </form>
    </body>
    </html>
  3. #3

    RE: GMAP panel examples

    hi vladsh

    Where can i get the Coolite.Ext.UX ? is there a dll or javascript code i was looking in extjs.com but i didn´t find any information could you help me?
  4. #4

    RE: GMAP panel examples

  5. #5

    RE: GMAP panel examples

    Just to say:

    THANK YOU very much !!

    Fábio Marcos
  6. #6

    RE: GMAP panel examples

    I see this is now included in the v0.8 distribution, but in source form. How do I go about compiling this? I have VS 2008, but not familiar with how to do this. For example, what project type should I create? And then do I just add in these files and compile?
  7. #7

    RE: GMAP panel examples

    The .sln file is included with the download. It's installed automatically to your file system if you run the automated .msi installer. Just double-click the .sln file and VS2008 should automatically start up for you. Then just compile the project.

    Hope this helps.


    Geoffrey McGill
    Founder
  8. #8

    RE: GMAP panel examples

    Awesome! Seems to work perfectly! This is REALLY going to make this project interesting considering all the things you can do with Google Maps, and even better using Coolite Toolkit.

    But two questions:

    1) Can I do everything with the Google Maps API using Coolite as if I was using JavaScript Google Maps API directly?

    2) Why do I get a .pdb file reference now when including the Coolite.Ext.UX.dll in my project? Can I remove it? Check out the attached image.


    Thanks again!!
  9. #9

    RE: GMAP panel examples

    
    <%@ Register Assembly="Coolite.Ext.UX" Namespace="Coolite.Ext.UX" TagPrefix="ux" %>
    how to add coolite.ext.ux..
    i've downloaded from www.ext.net/download

    but the problem is "ux" is unknown and GMapPanel is unknown.
    Have i missing something?

  10. #10

    RE: GMAP panel examples

Page 1 of 2 12 LastLast

Similar Threads

  1. GMap Support
    By pevans360 in forum 2.x Help
    Replies: 3
    Last Post: Aug 09, 2013, 7:39 AM
  2. Replies: 0
    Last Post: Jun 18, 2012, 7:50 AM
  3. [CLOSED] GMAP set values from a grid panel
    By eaglemobile in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Dec 08, 2011, 12:59 AM
  4. GMap Api Error
    By zuammer in forum 1.x Help
    Replies: 3
    Last Post: Apr 17, 2009, 10:54 AM
  5. Replies: 0
    Last Post: Jan 13, 2009, 3:15 AM

Posting Permissions