Hi Christopher,<div><br></div><div>Maybe this will help: try using proj4js-compressed.js, instead of proj4js. It worked for me, when I had trouble with compatibility (IE, FF, Chrome).</div><div><br></div><div>BR,<br clear="all">
--- <br>Zoran Jankovic<br>ZIS-Izrada softvera i savjetovanje / ZIS - Software Development and Consulting<br><br><a href="http://www.zisis.hr">http://www.zisis.hr</a><br><br>M: 00 385 98 682 902<br>T: 00 385 44 683 374<br>
<br>A. Senoe 4<br>44320 Kutina<br>Croatia<br>
<br><br><div class="gmail_quote">On Fri, Jul 16, 2010 at 3:57 PM, <span dir="ltr"><<a href="mailto:christopher.schmidt@nokia.com">christopher.schmidt@nokia.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
On Jul 16, 2010, at 9:40 AM, ext Ian Turton wrote:<br>
<br>
> On Thu, Jul 15, 2010 at 10:13 PM, <<a href="mailto:christopher.schmidt@nokia.com">christopher.schmidt@nokia.com</a>> wrote:<br>
>> Hi,<br>
>><br>
>> I have a map that I think should work at:<br>
>><br>
>> <a href="http://crschmidt.net/mapping/mas/wfs-states.html" target="_blank">http://crschmidt.net/mapping/mas/wfs-states.html</a><br>
>><br>
>> This is a minimal modification of the wfs-states.html included in the examples.<br>
>><br>
>> Specifically, I've added:<br>
>> * Proj4js lib<br>
>> * <script src="<a href="http://spatialreference.org/ref/epsg/26986/proj4js/" target="_blank">http://spatialreference.org/ref/epsg/26986/proj4js/</a>"></script><br>
>><br>
>> And modified the layer to be a simple layer that requires reprojection.<br>
>><br>
>> var wfs = new OpenLayers.Layer.Vector("States", {<br>
>> strategies: [new OpenLayers.Strategy.BBOX({ratio: 1.1})],<br>
>> protocol: new OpenLayers.Protocol.WFS({<br>
>> url: "<a href="http://giswebservices.massgis.state.ma.us/geoserver/wfs" target="_blank">http://giswebservices.massgis.state.ma.us/geoserver/wfs</a>",<br>
>> version: '1.0.0',<br>
><br>
> I think you'll need to use version 1.1.0 of the WFS spec to get<br>
> reprojection. 1.0 only supports 4326.<br>
<br>
</div>Reprojection should be working on the client side; there's an example<br>
of it in:<br>
<br>
<a href="http://openlayers.org/dev/examples/wfs-reprojection.html" target="_blank">http://openlayers.org/dev/examples/wfs-reprojection.html</a><br>
<br>
"In the case where the projection of a vector layer differs from the projection of the map, features are requested in the layer projection and transformed during parsing. It is assumed that the layer projection is "native" projection of the data (the coordinate reference system of the data on the server)."<br>
<br>
Additionally, though this map doesn't work in Safari when I first load<br>
it, when I zoom in or out, the map *does* load. (In Firefox, it doesn't<br>
at all.) So this seems like it's more complex than "ur doin it wrong",<br>
though maybe I'm still missing something obvious.<br>
<br>
Regards,<br>
<font color="#888888">--<br>
Christopher Schmidt<br>
Nokia<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>