This is almost solved with this code.
Only problem is clustered markers.
Any ideas ?
Relate:Accident.open
clear(Acc:record)
set(Acc:GuidKey,Acc:GuidKey)
loop
next(Accident)
if error()
break
.
Acc:Latitude=Acc:Latitude-0.001
put(Accident)
!Here start the code that moves markers
marker"=p_web.AddBrowseValue('AccidentsMap','Accident',Acc:GuidKey)
p_web.Script('$("#' & p_web._jsok(p_web.nocolon('AccidentsMap')) & '").ntmap("updateMarker","'&clip(marker")&'",'&p_web.GetLatLng(Acc:Latitude)&','&p_web.GetLatLng(Acc:Longitude)&','&p_web.WrapOptions(loc:options)&');')
.