From this version a new data type was added in order to show data within a Polygon. In order to create this kind of behaviour you must load the polygon data as follows:
{
"""color""":""#FB4C2F"",
"""description""":"""Zone A""",
"""coors""":[
{
"""lat""":24.808,
"""lng""":-83.097
},
{
"""lat""":25.683,
"""lng""":-81.690
},
{
"""lat""":24.369,
"""lng""":-82.306
},
{
"""lat""":29.169361,
"""lng""":-78.817521
}
]
}
In this way, you can define, for each polygon a specific colour and description. Then, you will be able to query the information grouped by each polygon:
|