Hello friends.
I´m trying to create a polygon from geojson but not working. What am I doing wrong?
{
"type": "Feature",
"properties": {
"Description": "Polígono Irregular en Camagüey",
"Draggable": false,
"EnableInfobox": true,
"FillColor": "#4488004e",
"FillOpacity": 0.3,
"ImageAsset": "",
"StrokeColor": "#000000",
"StrokeOpacity": 1.0,
"StrokeWidth": 2,
"Title": "Camagüey",
"Visible": true
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[-77.90744304656984, 21.393422951386587],
[-77.90880560874939, 21.395840413279284],
[-77.91027545928956, 21.398257835208145],
[-77.91045784950258, 21.401584222359443],
[-77.90774345397949, 21.4008150644897],
[-77.90516853332521, 21.400415500362858],
[-77.90319442749023, 21.400375543890117],
[-77.90160655975343, 21.40141440863241],
[-77.89980411529542, 21.40089497718403],
[-77.89834499359131, 21.39981615212504],
[-77.89873123168947, 21.397818306921025],
[-77.90744304656984, 21.393422951386587]
]
]
}
}
I tested this using geojson.io and looks fine but not for app inventor.
It works like this:
{
"type": "Feature",
"properties": {
"title": "La Guernica"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[-77.90744304656984, 21.393422951386587],
[-77.90880560874939, 21.395840413279284],
[-77.91027545928956, 21.398257835208145],
[-77.91045784950258, 21.401584222359443],
[-77.90774345397949, 21.4008150644897],
[-77.90516853332521, 21.400415500362858],
[-77.90319442749023, 21.400375543890117],
[-77.90160655975343, 21.40141440863241],
[-77.89980411529542, 21.40089497718403],
[-77.89834499359131, 21.39981615212504],
[-77.89873123168947, 21.397818306921025],
[-77.90744304656984, 21.393422951386587]
]
]
}
}
But when trying to include properties it crash
Showing this:
An internal error has occurred. Report a bug?