<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>That worked perfectly :)</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal; "><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal; "><span>Thanks again for your help!</span></div><div><br></div>  <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Diego Guidi <diegoguidi@gmail.com><br> <b><span style="font-weight:
 bold;">To:</span></b> uk52rob <uk52rob@yahoo.co.uk> <br><b><span style="font-weight: bold;">Cc:</span></b> "openlayers-users@lists.osgeo.org" <openlayers-users@lists.osgeo.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, 12 October 2012, 15:25<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [OpenLayers-Users] Polygon Layer Projection<br> </font> </div> <br><a href="http://docs.openlayers.org/library/spherical_mercator.html#working-with-projected-coordinates" target="_blank">http://docs.openlayers.org/library/spherical_mercator.html#working-with-projected-coordinates</a><br><br><br>Diego Guidi<br><br><br>On Fri, Oct 12, 2012 at 4:23 PM, uk52rob <<a ymailto="mailto:uk52rob@yahoo.co.uk" href="mailto:uk52rob@yahoo.co.uk">uk52rob@yahoo.co.uk</a>> wrote:<br>><br>>> I have the map projection set to EPSG:4326 (does not seem to make a<br>>> difference whether it's 4326 or Google's
 900913).<br>>> I have loaded Google layers (OpenLayers.Layer.Google).<br>><br>> AFAIK as I know, if you add this kind of layer, your map goes to<br>> google projection, so you need to add data in 900913 (or translate<br>> them).<br>><br>> Thanks Diego, do you know of an easy way to convert 900913 vertices to 4326<br>> on the fly, or do I need to do this after the feature has been created?<br>><br>> I can pass all this back to PostGIS I guess and let that do the translation,<br>> but I would prefer to do this at the javascript level.<br>><br>> Regards<br>><br><br><br> </div> </div>  </div></body></html>