#1 Wed 31 March 2010 18:33
- calito
- Participant actif
- Date d'inscription: 2 Jun 2008
- Messages: 112
[ GeoEXT - OpenLayers ] Affichage de l'image
Bonjour tout'l monde.
G crée un ficheir index.js qui m'affiche un panel :
[img]http://img718.imageshack.us/img718/6905/panelj.jpg[/img]
voici mon fichier index.js :
Code:
var map = new OpenLayers.Map();
var mapPanel = new GeoExt.MapPanel({
title: "TEST (MS4W)",
renderTo: "maptoto",
height: 450,
width: 800,
map: map,
center: new OpenLayers.LonLat(5, 45),
zoom: 2
});
});J'aimerais afficher une image dans mon panel, comment je peux le faire?
Merci.
Hors ligne
#2 Thu 01 April 2010 19:32
- Cédric Moullet
- Participant occasionnel
- Date d'inscription: 21 Feb 2009
- Messages: 23
Re: [ GeoEXT - OpenLayers ] Affichage de l'image
Vous entendez quoi par image ?
Pour afficher des couches de données, regardez l'exemple suivant:
http://dev.geoext.org/trunk/geoext/exam … l-div.html
Hors ligne


