Risolto il problema della lib proj con il sistema di coordinate mancante relativo al epsg:900913 (vai a pensare che nella libreria non ci fosse n.d.r.) mi trovo di fronte agli ultimi tre problemi per far partire pmapper5.
PHP Warning: [MapServer Error]: msDrawMap(): Unable to initialize image.
PHP Warning: [MapServer Error]: msCalculateScale(): Invalid image extent, minx=-nan, miny=-nan, maxx=-nan, maxy=-nan.
PHP Fatal error: Call to a member function saveImage() on a non-object
molto probabilmente sono legati a PM.mapOptions nel file js_options.php
/**
* OpenLayer map options
*/
PM.mapOptions = {
projection: new OpenLayers.Projection("EPSG:900913"),
displayProjection: new OpenLayers.Projection("EPSG:4326"),
units: "m",
numZoomLevels: 22, //
restrictedZoomLevel: 15, // settings should be: restrictedMinZoom + restrictedZoomLevel = numZoomLevels
restrictedMinZoom: 7, //
//maxResolution: 156543.0339,
//maxExtent: new OpenLayers.Bounds(-20037508, -20037508, 20037508, 20037508.34)
maxExtent: new OpenLayers.Bounds(-4000000, 3000000, 8000000, 12000000)
};
/**
* Options for overview map
*/
PM.overviewMapOptions = {
div: 'pmOverviewMapContainer',
olThemes: [ ['osm_mapnik', ['osmmapnik']] ],
maximized: false,
size: [200, 150],
minRatio: 10,
mapOptions: {
maxExtent: new OpenLayers.Bounds(-4000000, 3000000, 8000000, 12000000)
}
};
qualcuno ha qualche suggerimento??
grazie.
_______________________________________________
[hidden email]
http://lists.gfoss.it/cgi-bin/mailman/listinfo/gfossQuesta e' una lista di discussione pubblica aperta a tutti.
I messaggi di questa lista non hanno relazione diretta con le posizioni dell'Associazione GFOSS.it.
638 iscritti al 28.2.2013