-
Notifications
You must be signed in to change notification settings - Fork 87
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
Showing a single Feature #34
Comments
Regardless, the code can be modified to handle a single Features by doing the following: In _getGeoJson: function (geojson), change to
In _addGraphics: function (arcgisJson), change to
|
sorry for the delayed reply @GB11111 but its by design that this project expects a GeoJSON feature collection to be supplied. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello - The code works great for a FeatureCollection, but it apparently doesn't accept a single Feature. E.g. the following is not accepted:
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [125.6, 10.1]
},
"properties": {
"name": "Dinagat Islands"
}
}
Is this by design?
Thks
The text was updated successfully, but these errors were encountered: