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

Allow GeoJSON features to have null geometries. #1705

Merged
merged 2 commits into from Feb 17, 2014

Conversation

tonio
Copy link
Member

@tonio tonio commented Feb 14, 2014

Fixes #1703

@@ -19,6 +19,14 @@ describe('ol.format.GeoJSON', function() {
}
};

var nullGeometryGeoJSON = {
'type': 'Feature',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor, but some people may have alt-linters (e.g. jshint) configured that will complain about these quoted member names.

Update: I see you're just following the pattern below. We can change this wholesale if it is a problem.

@tschaub
Copy link
Member

tschaub commented Feb 14, 2014

Looks good to me. Please merge.

tonio added a commit that referenced this pull request Feb 17, 2014
Allow GeoJSON features to have `null` geometries.
@tonio tonio merged commit a658435 into openlayers:master Feb 17, 2014
@tonio tonio deleted the geojson_null_geometry branch February 17, 2014 07:23
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.

ol.source.GeoJSON crash if geometry is null
2 participants