Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to specify geometryName on ol.format.GeoJSON #2097

Merged
merged 1 commit into from May 21, 2014
Merged

Ability to specify geometryName on ol.format.GeoJSON #2097

merged 1 commit into from May 21, 2014

Conversation

bartvde
Copy link
Member

@bartvde bartvde commented May 21, 2014

GeoJSON by default uses 'geometry' for the geometry name. However, when used in combination with WFS, the geometry attribute might be named differently on the server. This new config option allows people to have the GeoJSON format create features with the same structure as on the server.

@bartvde
Copy link
Member Author

bartvde commented May 21, 2014

@ahocevar this is per our discussion in #2090

@tschaub
Copy link
Member

tschaub commented May 21, 2014

This looks good to me. Please merge.

bartvde added a commit that referenced this pull request May 21, 2014
Ability to specify geometryName on ol.format.GeoJSON (r=@tschaub)
@bartvde bartvde merged commit a36bffa into openlayers:master May 21, 2014
@bartvde bartvde deleted the geojson-geometryname branch May 21, 2014 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants