[OpenLayers-Users] OpenLayers error - template.replace is not a function

Nick Whitelegg Nick.Whitelegg at solent.ac.uk
Fri Feb 25 05:31:40 EST 2011

Hello Leigh,

Not sure if this is the issue but the "Google" projection is 900913, not 90013.


>I'm a new user of OpenLayers, with not much JavaScript or Ajax programming experience.  I >thought I was starting to get the hang of the API, but then I came across an error.  This error >shows up in the Firefox error console, and an empty map-sized container is shown:

>template.replace is not a function
>Line: 102


>var mercator = new Proj4js.Proj("EPSG:90013");

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110225/b792bd6c/attachment-0001.html

More information about the Users mailing list