[OpenLayers-Users] Pro4js in IE

Arnd Wippermann arnd.wippermann at web.de
Fri Feb 13 10:09:45 EST 2009


I have explicity to add my projection files to the page, because IE don't
load them on request by the proj4js script like FF can do.
 
<SCRIPT defer="defer" type="text/javascript"
src="proj4js/projCode/tmerc.js"></SCRIPT>
<SCRIPT defer="defer" type="text/javascript"
src="proj4js/projCode/merc.js"></SCRIPT>
<SCRIPT defer="defer" type="text/javascript"
src="proj4js/defs/EPSG31466.js"></SCRIPT>
<SCRIPT defer="defer" type="text/javascript"
src="proj4js/defs/EPSG31467.js"></SCRIPT>
<SCRIPT defer="defer" type="text/javascript"
src="proj4js/defs/EPSG900913.js"></SCRIPT>

Arnd Wippermann

 
  _____  

Von: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org] Im
Auftrag von Vidal, Antoni
Gesendet: Freitag, 13. Februar 2009 13:46
An: users at openlayers.org
Betreff: [OpenLayers-Users] Pro4js in IE



Hello,

 

Finally I succes adding proj4js to my OL, but it’s not a total hit because
in Internet Explorer doesn’t work, I get an error: “Proj4js.Proj.tmerc.init
is null or not an object”  and I don’t understand nothing at all that it
happens. In firefox, works fine.

 

Any idea?

 

Thank’s

 

Antoni Vidal

Institut Cartogràfic de Catalunya    Tel: +34-93 567 1500 Ext. 3228

Parc de Montjuïc                             Fax: +34-93 567 1567

08038 Barcelona                            http://www.icc.cat
<http://www.icc.cat/> 

Spain

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090213/5c8f6fa0/attachment.html


More information about the Users mailing list