Hi,
Answer to my own question.
var geojson_format = new OpenLayers.Format.GeoJSON({
'internalProjection': new
OpenLayers.Projection("EPSG:900913"),
'externalProjection': new
OpenLayers.Projection("EPSG:4326")
});
On 02/18/2014 10:48 PM, Jim White wrote:
Hi,
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.
How to tell Openlayers to reproject?
Thanks,
Jim
--
James B. White
Cary, NC
H: 919-380-9615
M: 919-698-1765
White Coding and Maps <http://whitecodingandmaps.com/>
--
James B. White
Cary, NC
H: 919-380-9615
M: 919-698-1765
White Coding and Maps <http://whitecodingandmaps.com/>
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users