<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
{font-family:Calibri}
@font-face
{font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline}
span.EmailStyle17
{font-family:"Calibri","sans-serif";
color:#1F497D}
.MsoChpDefault
{font-size:10.0pt}
@page WordSection1
{margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.WordSection1
{}
-->
</style>
</head>
<body bgcolor="white" lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">How about adding you layer to the map after you have added the basemap.</span></p>
<p class="MsoNormal"><a name="_MailEndCompose"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></a></p>
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:windowtext">From:</span></b><span lang="EN-US" style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:windowtext"> Pedro Costa [mailto:pedrocostaarma@sapo.pt]
<br>
<b>Sent:</b> 03 July 2012 21:54<br>
<b>To:</b> Steve Way; openlayers-users@lists.osgeo.org<br>
<b>Subject:</b> Re: [OpenLayers-Users] transform coordinates</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">Em 03-07-2012 12:38, Steve Way escreveu:</p>
</div>
<blockquote style="margin-top:5.0pt; margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">I would suggest setting the SRS of your map (EPSG:90913) in the WMS request also.</span></p>
</blockquote>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
I've tried like that:<br>
<br>
<br>
var ruas = new OpenLayers.Layer.WMS(<br>
'ruas',<br>
'<a href="http://localhost:8080/geoserver/it.geosolutions/wms">http://localhost:8080/geoserver/it.geosolutions/wms</a>',<br>
{layers: 'it.geosolutions:ruas',<br>
styles: 'line',<br>
srs: 'EPSG:900913',<br>
format: 'image/png',<br>
transparent: true<br>
},{isBaseLayer: false});<br>
<br>
<br>
But doesn't work!</p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
DISCLAIMER:<br>
<br>
This email may contain confidential information and is intended only for the use of the specific individual(s) to which it is addressed. If you are not the intended recipient of this email, you are hereby notified that any unauthorized use, dissemination or
copying of this email or the information contained in it or attached to it is strictly prohibited. If you received this message in error, please immediately notify the sender at Infotech or Mail.Admin@infotech-enterprises.com and delete the original message.<br>
</font>
</body>
</html>