You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to suggest that a nice feature would be possibility do add any members to the GeoJSON object. I mean objects that are not specified in GeoJSON standard.
E.g. I am working now on a project, where PHP script will be outputting GeoJSON data. The data will be loaded via AJAX to a JavaScript and then load a Google Map based on the data.
I want to pass via GeoJSON some settings to set up a map e.g. an initial zoom value.
So let's say I have a GeoJSON FeatureColletion object. The collection is made of 1 feature (Point). I am specifying an initial zoom value as 2-nd member. I want my GeoJSON look this:
This is planned, likely in a 1.1 release. I recall seeing this in the spec, but it was after I had already released 1.0 -- and I never got around to creating a TODO ticket for it.
I would like to suggest that a nice feature would be possibility do add any members to the GeoJSON object. I mean objects that are not specified in GeoJSON standard.
E.g. I am working now on a project, where PHP script will be outputting GeoJSON data. The data will be loaded via AJAX to a JavaScript and then load a Google Map based on the data.
I want to pass via GeoJSON some settings to set up a map e.g. an initial zoom value.
So let's say I have a GeoJSON FeatureColletion object. The collection is made of 1 feature (Point). I am specifying an initial zoom value as 2-nd member. I want my GeoJSON look this:
As I understand the specification of GeoJSON standard, it is allowed to add such members.
What do you think about it? I mean, what do you think about extending your lib so that you can add other members (not specified in a GeoJSON spec).
The text was updated successfully, but these errors were encountered: