AW: [OpenLayers-Users] Re: help to find error in geojson-code
Arnd Wippermann
arnd.wippermann at web.de
Mon Apr 23 13:06:31 EDT 2012
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: openlayers-users-bounces at lists.osgeo.org
[mailto:openlayers-users-bounces at lists.osgeo.org] Im Auftrag von Jan
Tappenbeck
Gesendet: Montag, 23. April 2012 10:10
An: openlayers-users at lists.osgeo.org
Cc: public-openlayers-users-qjLDD68F18NyQMAyxoHuMA at plane.gmane.org
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
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users
More information about the Users
mailing list