I want ask, how I can use the MapCircle outwith the Map {} object. I want write a function, which will draw a way, and I thought, that I can do somethink like that:
function putWay (way)
{
for (var i = 0; i < getLatitude.count - 1; i++ )
{
way.center {
longtitude: getLongtitude.get(i).longtitude
latitude: getLatitude.get(i).latitude
}
}
}
Way = MapCircel
getLatitude = listView, where are my data (Latitude) from DB
getLongtitude, this same but Longtitude
And way would be a MapCircel id, but it doesn't work. I think becouse of using the Map properity outwith the Map object, but maybe is a way to using the Map properity outwith Map object? Maybe a pointer or somethink like that? Maybe I can create my own object/properity?