Hello.
I can import this GeoJSON file, except if i insert any of these 2 properties to the LineString:
"stroke": " #9e207e" or "stroke-width": 4
In this case, appinventor give this error: "An internal error has occurred. Report a bug?"
Converts a feature description into an App Inventor map feature. Points are converted into Marker components, LineStrings are converted into LineString components, and Polygons (and MultiPolygons) are converted into Polygon components. If the feature has properties, they will be mapped into App Inventor properties using the following mapping:
description becomes Description
draggable becomes Draggable
infobox becomes EnableInfobox
fill becomes FillColor
fill-opacity becomes FillOpacity
image becomes ImageAsset
stroke becomes StrokeColor
stroke-opacity becomes StrokeOpacity
stroke-width becomes StrokeWidth
title becomes Title
visible becomes Visible
and edit the geojson file you have appropriately and see if that fixes your issue Patricio.
Does editing the geojson allow you to display the LineString? I am fairly certain you have to use RGB colors, not #9e207e format
Close but not it. Try "StrokeColor": "126, 0, 126 "},
#7e007e is the hex color; 126, 0, 126 is the equivalent RGB color. The LineString color has to be a RGB 'color' .
Will it work? I do not know. Try it. If that does not work, you may have discovered a bug or an error in the documentation. You could also try "Stroke": "126, 0, 126 "},