<br><font size=2 face="sans-serif">I created a simple html page where the
user enter lat/long coordinates and the program returns the projected coord
in EPSG 32198.</font>
<br>
<br><font size=2 face="sans-serif">That works well, but if I insert the
same code in a more complex program using openlayers, the coordinates are
not projected. Here is the code I put just after map.setCenter()</font>
<br>
<br><font size=2 face="sans-serif">var lon = -70.894826;</font>
<br><font size=2 face="sans-serif">var lat = 48.329377;</font>
<br><font size=2 face="sans-serif">var point = new OpenLayers.Geometry.Point(lon,
lat); </font>
<br><font size=2 face="sans-serif">var src = new OpenLayers.Projection('EPSG:4326');
</font>
<br><font size=2 face="sans-serif">OpenLayers.Projection.transform(point,
src, map.getProjectionObject()); </font>
<br><font size=2 face="sans-serif">alert(point);</font>
<br>
<br><font size=2 face="sans-serif">I included the script at the beginning
of my program</font>
<br><font size=2 face="sans-serif">&lt;script src=&quot;../../proj4js/lib/proj4js-compressed.js&quot;&gt;&lt;/script&gt;</font>
<br>
<br><font size=2 face="sans-serif">It seems that that the proj4js script
is not found.</font>
<br><font size=2 face="sans-serif">Any idea?</font>
<br>
<br><font size=2 face="sans-serif">thanks</font>
<br><font size=2 face="sans-serif">Steve</font>