Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
GeoJSON + OSM + OpenLayers
var geojson_format = new OpenLayers.Format.GeoJSON({
'internalProjection': new OpenLayers.Projection("EPSG:900913"),
'externalProjection': new OpenLayers.Projection("EPSG:4326")
});
@mdojobm
Copy link

mdojobm commented Jul 31, 2012

Two days I look for a solution of the problem: "OpenLayers.Layer.OSM, GeoJSON points always display at coords (0, 0)". This is the right solution, thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment