<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- saved from url=(0046)http://obtra.univalle.edu.co/accewps/map3.html -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang=
"en-US">
<head>
<meta name="generator" content=
"HTML Tidy for Linux/x86 (vers 7 December 2008), see www.w3.org" />
<meta http-equiv="Content-Type" content=
"text/html; charset=utf-8" />
<title>Mapa de Prueba</title>
<style type="text/css">
/*<![CDATA[*/
#map {width: 500px;height: 500px;border: 3px solid blue;}
/*]]>*/
</style>
<script src="http://openlayers.org/api/OpenLayers.js" type="text/javascript">
</script>
<script type="text/javascript">
//<![CDATA[
var map;
//inciando el Mapa
function initGis() {
map = new OpenLayers.Map ("map",
{
maxResolution: 'auto',
numZoomLevels: 4,
units: 'm',
}
);
var peatonal = new OpenLayers.Layer.GML (
"red peatonal",
"redpeatonal.xml",/*
"polygon.xml",*/
{
isBaseLayer:true
}
);
map.addLayer(peatonal);
map.zoomToExtent(peatonal.maxExtent);
};
//]]>
</script>
</head>
<body onload="initGis()">
<div id="map" class="olMap"></div>
</body>
</html>