PDA

View Full Version : Print Gmap, how to?



parsbin
8 May 2011, 4:37 AM
Hi
how can i send gmap map too printer?
my code :


mapwin = new Ext.Window({
layout: 'fit',
title: 'Map',
closeAction: 'hide',
width:500,
height:400,
x: 40,
y: 60,
items: {
xtype: 'gmappanel',
zoomLevel: 17,
gmapType: 'map',
id:'gg',
name:'gg',
mapConfOpts: ['enableScrollWheelZoom','enableDoubleClickZoom','enableDragging'],
mapControls: ['GSmallMapControl','GMapTypeControl','NonExistantControl'],
setCenter: {
lat: 35.718900,
lng: 51.401800,
marker: {title: '???? ??????? ???'}
},
markers: [{
lat: 35.430760,
lng: 51.240821,
marker: {title: 'Boston Museum of Fine Arts'},
listeners: {
click: function(e){
Ext.Msg.alert('Its fine', 'and its art.');
}
}
}]
}
});

parsbin
10 May 2011, 10:01 PM
not idea?
my app schema is: