[pmapper-users] Projection error

2015-01-28 Thread Andreas Douvalis
Can you help me with the javascript error bellow? "NetworkError: 404 Not Found - /pmapper/projCode/null.js" My map projection is :   PROJECTION     "init=epsg:3857"   END # PROJECTION and my config xml                                             init=epsg:3857       

Re: [pmapper-users] Projection error

2015-01-28 Thread Thomas RAFFIN
Hi, I don't really use proj4s plugin, so I'm not sure but I think you have to define the projection (3857 here): - in the XML (already done as I see below) - in JS - in your js_config.php : Proj4js.defs["EPSG:2154"]="+proj=lcc +lat_1=49 +lat_2=44 +lat_0=46.5 +lon_0=3 +x_0=70 +y_0=66000

[pmapper-users] Πρθ: Projection error

2015-01-28 Thread Andreas Douvalis
Στις 12:43 μ.μ. Τετάρτη, 28 Ιανουαρίου 2015, ο/η Andreas Douvalis έγραψε: Thank you! You are right! I should have defined in js_config.php! Now it works! Στις 12:33 μ.μ. Τετάρτη, 28 Ιανουαρίου 2015, ο/η Thomas RAFFIN έγραψε: Hi, I don't really use proj4s plugin, so