[OpenLayers-Users] proj4j - disable calling to http://spatialreference.org

Mike Adair madair at dmsolutions.ca
Tue Mar 2 11:08:30 EST 2010


At the moment, no it's not possible to disable that, however if all your 
projection definitions are properly loaded, it should never get to the 
part where it calls spatialreference.org.

That said, to make sure it never gets called, comment out the call to 
Proj4js.loadScript in the loadProjDefinition() call (around line 510).

Mike

mario1982 at libero.it wrote:
> Hi,
> I've included in my jsp page this projection:
>
> Proj4js.defs["EPSG:3003"] = "+title=Gauss Boaga EPSG:3003 +proj=tmerc +lat_0=0 +lon_0=9 +k=0.999574 +x_0=1500005 +y_0=0 +ellps=intl  +units=m  +no_defs";
> 		
> is it possibile to disable calling to http://spatialreference.org?
>
> Thank you for your help,
> regards
>
> Mario
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>   

-- 
   Michael Adair
   Senior Software Architect
   DM Solutions Group Inc.

   Office: (613) 565-5056 x26
   madair at dmsolutions.ca
   http://www.dmsolutions.ca
   http://research.dmsolutions.ca





More information about the Users mailing list