Cita:
function LonLatAddress(){
var lat =10.98103;
var lon =-74.79011;
var zoom =17;
var lonLat = new OpenLayers.LonLat(lon, lat).transform(new OpenLayers.Projection("EPSG:4326"), new OpenLayers.Projection("EPSG:900913"));
//markers.destroy();
var markers = new OpenLayers.Layer.Markers(" Predio");
map.addLayer(markers);
markers.addMarker(new OpenLayers.Marker(lonLat));
map.setCenter (lonLat, zoom);
//markers.destroy();
}
function LonLatAddress(){
var lat =10.98103;
var lon =-74.79011;
var zoom =17;
var lonLat = new OpenLayers.LonLat(lon, lat).transform(new OpenLayers.Projection("EPSG:4326"), new OpenLayers.Projection("EPSG:900913"));
//markers.destroy();
var markers = new OpenLayers.Layer.Markers(" Predio");
map.addLayer(markers);
markers.addMarker(new OpenLayers.Marker(lonLat));
map.setCenter (lonLat, zoom);
//markers.destroy();
}