[Gfoss] pmapper5 reload
andrea della peruta
adellaperuta a gmail.com
Gio 14 Mar 2013 20:20:18 CET
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)
}
};
considerando che lo sto montando con i dati demo presi da qui:
http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-p-mapper-5-first-beta-td3856076.html
qualcuno ha qualche suggerimento??
grazie.
-------------- parte successiva --------------
Un allegato HTML ? stato rimosso...
URL: <http://lists.gfoss.it/pipermail/gfoss/attachments/20130314/01b7e124/attachment.html>
Maggiori informazioni sulla lista
Gfoss