[Users] GMapPanel3 - Google Maps V3 & ExtJS 3

Andreas Hocevar ahocevar at opengeo.org
Wed Jul 20 12:14:38 CEST 2011


Hi,

you don't use GmapPanel3. Instead you use GeoExt.MapPanel with a Google layer:

new Ext.Window({
    title: "GeoExt with Google Map",
    height: 280, width: 450, layout: "fit",
    items: [{
        xtype: "gx_mappanel",
        layers: [new OpenLayers.Layer.Google(
            "Google Physical",
            {type: google.maps.MapTypeId.TERRAIN}
        )],
        zoom: 1
    }]
}).show();

Andreas.

On Tue, Jul 19, 2011 at 11:50 PM, Surendran Neelakantan
<surendrankn at gmail.com> wrote:
>
>
> Hi
>
> I would like to if there is a sample  code available using  GeoExt  and
> GmapPanel3
>
> Thank you
> Surendran
>
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>
>



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.


More information about the Users mailing list