Discussion:
[Users] class diagram geoext
Christian Thierry Manga
2016-02-18 16:38:41 UTC
Permalink
Hi
somme help
how to do this
please


var submitButton = Ext.create('Ext.button.Button', {
text : 'Afficher sur la carte'
}
)

submitButton.handler = function() {
var datasetId = Ext.getCmp('promosCombo').getValue();
if (datasetId && datasetId != '') {
var proto = new OpenLayers.Protocol.HTTP({
url: "silos_satellite.php?nom_silo=" + datasetId,
format: new OpenLayers.Format.GeoJSON()
});
silossatellite.protocol = proto;
silossatellite.refresh();
}
else {
Ext.MessageBox.alert("Erreur !","Veuillez d'abord sélectionner un silo à afficher.");
}
}

Loading...