[Spanish] GXP: problemas centrar mapa.

javier Diaz javidiaz1977 at gmail.com
Mon Jan 21 07:59:24 PST 2013


Finalmente pude centrar el mapa. Las propiedades dentro del objeto map
quedaron asi:

map: {
.....
projection: new OpenLayers.Projection("EPSG:900913"),
displayProjection: new OpenLayers.Projection("EPSG:4326"),
zoom: 8,
units: "m",
maxResolution: 156543.0339,
maxExtent: [
                   -20037508.34, -20037508.34,
                    20037508.34, 20037508.34
                    ],
center: [-6487344.813, -4128188.2009], // Quilmes
.........
}


More information about the Spanish mailing list