Hello <span id="result_box" class="" lang="en"> <span class="hps">I am</span> <span class="hps">completely new</span> <span class="hps">esoty</span> <span class="hps">amateur</span> <span class="hps">cartography</span> <span class="hps">using #</span> <span class="hps">OpenLayers</span> <span class="hps">and server</span> <span class="hps">#</span> <span class="hps">mapserver</span><span>, mapping</span> <span class="hps">is</span> <span class="hps">a map</span> <span class="hps">of</span> <span class="hps">#</span> <span class="hps">openstreetmap</span> <span class="hps">downloaded</span> <span class="hps">and</span> <span class="hps">imported into</span> <span class="hps">postgis</span><span>.</span> <span class="hps">locally</span> <span class="hps">at #</span> <span class="hps">mapserver</span> <span class="hps">I can</span> <span class="hps">see the map</span> <span class="hps">detail,</span> <span class="hps">the.</span> <span class="hps">ESPG900913</span> <span class="hps">Projection</span> <span class="hps">map</span> <span class="hps">was</span><span>,</span> <span class="hps">but</span> <span class="hps">when creating</span> <span class="hps">the</span> <span class="hps">OpenLayers</span> <span class="hps">web</span> <span class="hps">map</span> <span class="hps">only</span> <span class="hps">see a</span> <span class="hps">rose</span> <span class="hps">I send</span> <span class="hps">the code</span> <span class="hps">to tell me</span> <span class="hps">that</span> <span class="hps">esoty</span> <span class="hps">doing wrong<br>
<br><!DOCTYPE html><br><html><br><head><br> <meta charset="UTF-8"><br> <title>Servidor de Mapas</title><br><script src="OpenLayers.js"></script> <br>
<br> <style type="text/css"><br> #divMapa { <br> width: 100%; <br> height: 515px; <br> border: solid 2px #808080; <br> }<br> </style><br><br><script type="text/javascript"><br>
<br> // Definimos las variables globales 'mapa' y 'capa'<br> var mapa, capa;<br><br> // Definimos una función que arranque al cargar la página<br> window.onload= function() {<br>
// Creamos el mapa<br> var mapa = new OpenLayers.Map("divMapa");<br> <br> // Creamos una capa<br> var capa = new OpenLayers.Layer.WMS( <br> "Metacarta",<br>
"<a href="http://172.16.4.6/cgi-bin/mapserv?map=/opt/mapserver-utils/osm-outlined,google.map">http://172.16.4.6/cgi-bin/mapserv?map=/opt/mapserver-utils/osm-outlined,google.map</a>", <br> {layers: 'basic'}<br>
);<br> <br> // Añadimos la capa al mapa<br> mapa.addLayer(capa);<br> <br> // Fijamos centro y zoom<br> mapa.zoomToMaxExtent();<br> }<br>
<br></script><br></head><br><body><br> <div id="divMapa"></div><br></body><br></html><br><br>thx for the help<br></span></span>