Hallo Jan,
You have to transform your feature from EPSG:4326 to EPSG:900913.
formatOptions = {
internalProjection:map.getProjectionObject(),
externalProjection:new OpenLayers.Projection("EPSG:4326")
};
var geojson_format = new OpenLayers.Format.GeoJSON(formatOptions);
Gruß Arnd
-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Jan
Tappenbeck
Gesendet: Montag, 23. April 2012 10:10
An: [email protected]
Cc: [email protected]
Betreff: [OpenLayers-Users] Re: help to find error in geojson-code
Hi !
+10, now no error message codes, but ...
there will no "Tulpenweg" (near the Pup) be draw !!!
why ??
can anybody help again?
regards Jan :-)
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users