[OpenLayers-Users] reprojection problem

Didrik Pinte lists at dipole-consulting.com
Wed Nov 12 06:33:06 EST 2008


On Wed, 2008-11-12 at 11:37 +0100, Didrik Pinte wrote:
> On Mon, 2008-11-10 at 21:30 -0500, Christopher Schmidt wrote:
> > 
> > http://openlayers.org/pipermail/users/2008-November/008615.html , 
> > http://faq.openlayers.org/vector-related-questions/why-dont-my-vector-features-work-over-google-yahoo-virtual-earth-etc/ , 
> > http://crschmidt.net/~crschmidt/spherical_mercator.html#reprojecting-vector-data
> 
> 
> Hi Christopher,
> Hi list,
> 
> I have tested the reprojection according to your doc but it does not
> work. 
> 
> See the very simple attached example. They are two points that should be
> in the south of France but they appear in the south atlantic ...The two
> points are latlon coordinates (EPSG:4326) and the map is set to a
> sphericalMercator projection.

Interesting, setting in the map options 'units : "m"' made the
map.setCenter work fine. 

The layer stays incorrectly projected. I'm investigating.

Didrik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.osgeo.org/pipermail/openlayers-users/attachments/20081112/9761f8eb/attachment.bin


More information about the Users mailing list