[OpenLayers-Users] Pro4js in IE
Mike Adair
madair at dmsolutions.ca
Tue Feb 17 12:51:03 EST 2009
Note that if you use the proj4js-combined.js file, all of the projection
class code (projCode/*.js) is included in that file already through the
build script and proj4js-compressed.js is a compressed version of that
file. If you just include proj4js.js, projection class code and
projection definitions will be loaded dynamically, although there was a
bug with that in IE that was recently fixed
(http://trac.osgeo.org/proj4js/ticket/28).
Mike
Vidal, Antoni wrote:
>
> Fantastic !!!
>
> It woks.
>
> Thank’s Arnd
>
> -----Mensaje original-----
> *De:* arnd.wippermann at web.de [mailto:arnd.wippermann at web.de]
> *Enviado el:* viernes, 13 de febrero de 2009 16:10
> *Para:* Vidal, Antoni
> *CC:* users at openlayers.org
> *Asunto:* AW: [OpenLayers-Users] Pro4js in IE
>
> 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
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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