hi
i have window
var cont = new Ext.Window({
                layout: 'fit',
                closeAction: 'hide',
                border: false,
width:1162,
height:380,
 renderTo: Ext.getBody(),
title: 'Карта',
resizable: false,
draggable: false,
closable: false,
border: false,
x:200,
y:70,
 items: {
                    xtype: 'gmappanel',
                    zoomLevel: 14,
                        id: 'Gmap_panel_test',
                    gmapType: 'map',
                    mapConfOpts:
['enableScrollWheelZoom','enableDoubleClickZoom','enableDragging'],
                    mapControls:
['GSmallMapControl','GMapTypeControl','NonExistantControl'],
                    setCenter: {
                        geoCodeAddr: '4 Yawkey Way, Boston, MA,
02215-3409, USA',
                        marker: {title: 'Fenway Park'}
                    },

                    markers: [{
                        lat: 42.339641,
                        lng: -71.094224,
                        marker: {title: 'Boston Museum of Fine
Arts',draggable:true},
                        listeners: {
                            click: function(e){
                                        Ext.Msg.alert('point_lat', 'and its 
art.');

                            }
                        }
                    },{
                        lat: 42.339419,
                        lng: -71.09077,
                        marker: {title: 'Northeastern University'}
                    }]
                }

});

there is map. how can i set marker after left-click? in any place. set
marker and show message with his coordinates.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to