<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
Answer to my own question. <br>
<br>
var geojson_format = new OpenLayers.Format.GeoJSON({<br>
'internalProjection': new
OpenLayers.Projection("EPSG:900913"),<br>
'externalProjection': new
OpenLayers.Projection("EPSG:4326")<br>
});<br>
<br>
On 02/18/2014 10:48 PM, Jim White wrote:<br>
</div>
<blockquote cite="mid:53042997.6010505@earthlink.net" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Hi,<br>
<br>
I am trying to load vector data onto a map(sperical mercator). The
vector data is lat/lon degrees. I have tried setting the
projection of the vector layer to both 5436 and 900913 and it
still ends of as a dot off the coast of Africa. <br>
<br>
How to tell Openlayers to reproject?<br>
<br>
Thanks,<br>
Jim<br>
<div class="moz-signature">-- <br>
James B. White<br>
Cary, NC<br>
H: 919-380-9615<br>
M: 919-698-1765<br>
<a moz-do-not-send="true" href="http://whitecodingandmaps.com/">White
Coding and Maps</a> </div>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
James B. White<br>
Cary, NC<br>
H: 919-380-9615<br>
M: 919-698-1765<br>
<a href="http://whitecodingandmaps.com/">White Coding and Maps</a>
</div>
</body>
</html>