[OpenLayers-Users] 4326 WMS overlay on top of google reproject, WMS not showing up

Christopher Schmidt crschmidt at metacarta.com
Mon Sep 22 14:55:11 EDT 2008


On Mon, Sep 22, 2008 at 11:43:32AM -0500, Ed Fialkowski wrote:
> I think it could with enough work, but another problem comes in when I
> add numerous data markers to the map, whos lat/lon come in 4326.
> This, I cannot reproject, as far as I know.

Yes, you can:

 new OpenLayers.LonLat(-71, 42).transform(new
 OpenLayers.Projection("EPSG:4326"), new
 OpenLayers.Projection("EPSG:900913")); 

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list