Skip to content

Reprojecting coordinates when fetching geojson #886

@mattiasb

Description

@mattiasb

I've been trying to add support for the crs field in the geojson spec by using proj4js. My current solution, a horrible hack, is visible in my geojson-viewer project here on github.
Basically I'd like to be able to hook into GeoJson.coordsToLatLng in some way so that i there can reproject each coord.
I have a few ideas for how to do that that aren't fully thought out yet. I'll get back to this later tonight but if you already have some input I'm eager to hear it!
Regards Mattias

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions