Hello again,
In the GeoJSON specification, it's contemplated the possibility of having an identifier field in the GeoJSON objects, stored in the id field. It would be great to have GeoJSON.js accept another parameter to specify which field should be parsed into that identifier. As of now, it can be done by iterating the results and moving the id field from properties to the feature.
Thanks for your time,
Pedro.
Hello again,
In the GeoJSON specification, it's contemplated the possibility of having an identifier field in the GeoJSON objects, stored in the
idfield. It would be great to have GeoJSON.js accept another parameter to specify which field should be parsed into that identifier. As of now, it can be done by iterating the results and moving the id field from properties to the feature.Thanks for your time,
Pedro.