koopjs / featureservice

Get all features from an Esri Feature Service.
Other
22 stars 3 forks source link

throw error on non-map/featureserver + test #47

Closed trescube closed 5 years ago

trescube commented 5 years ago

This PR updates the following:

Without this change, the parser throws a rather unhelpful Cannot read property '0' of null error when URL is not a MapServer/FeatureServer.