We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I was trying out the sample code on version 2.1.2 and I keep getting the following error Typeerror: GeoJSON is not a constructor
var test = new GeoJSON({ any: { type: "Point", point: [-113.806458, 44.847784] }, point: { type: "Point", coordinates: [12.123456, 13.134578] } });
I also tried the following
var pointData = { point: { type: "Point", coordinates: [12.123456, 13.134578] } }; var geoLocation= new GeoJSON(pointData);
The text was updated successfully, but these errors were encountered:
yeah that's an issue, you can use your model name, just like any other model you'd create.
Sorry, something went wrong.
No branches or pull requests
I was trying out the sample code on version 2.1.2 and I keep getting the following error
Typeerror: GeoJSON is not a constructor
var test = new GeoJSON({
any: {
type: "Point",
point: [-113.806458, 44.847784]
},
point: {
type: "Point",
coordinates: [12.123456, 13.134578]
}
});
I also tried the following
var pointData = {
point: {
type: "Point",
coordinates: [12.123456, 13.134578]
}
};
var geoLocation= new GeoJSON(pointData);
The text was updated successfully, but these errors were encountered: