[OpenLayers-Users] SphericalMercator with Text layer

Fred van Beelen fred at waterwegwijzer.nl
Tue Nov 20 08:19:20 EST 2007


Hi,

I have a map with Goolge baselayer and a few Text - and GML layers (OL
2.4). The same configuration I will be used in OL 2.5 setting Goolge
layer SphericalMercator: true, units: 'm' etc.
The defined markers in text layer have lon/lat degrees and not meters.
How can I do this properly?
- changing Text.js file, 'Parsdata' add:  location =
OpenLayers.Layer.SphericalMercator.forwardMercator(parseFloat(coord....e
tc.?
- changing source data in .txt files by replacing degrees in meters?
- or something else? 

Regards,
Fred van Beelen BICT
http://www.waterwegwijzer.nl/OpenLayers/appl/geoinfo.html



-- 
View this message in context:
http://www.nabble.com/SphericalMercator-with-Text-layer-tf4843144.html#a
13855887
Sent from the OpenLayers Users mailing list archive at Nabble.com.





More information about the Users mailing list