Hi All, I have an issue with my blocks or something are doing wrong with the blocks and the use of map components. My App in essence read a series of data points from my Firebase realtime database and Im triying to show on the map, with a marker and the Title and Description when user hit on that marker. Each data point have his GPS Lat and Lon, and a Speed and Battery percent. Im triying to assign the speed as Title and the percent as Description of marker. As the data points number is dinamic, and change trip to trip, I assume that need to create at runtime a GeoJson and assign to a FeatureCollection block. As starting code I create a GeoJson with basic info of one point and his title and description, however, I can see the mark point on map but never his "info".
The GeoJson created for test:
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"Title": "120KM/h",
"Description": "80%"
},
"geometry": {
"type": "Point",
"coordinates": [
-0.24753570556640625,
39.17186018711906
]
}
}
]
}
For starting code I simply paste this GeoJson code to a String and attach to a Feature from Geo Json block:
And finally if touch the Red Marker only the info of the Labeltext of the uperside obtain, nothing about Title or Description: