Actions
Bug #4990
closed
JL
RS
WGoogleMap Circles are not cleared
Bug #4990:
WGoogleMap Circles are not cleared
Start date:
06/22/2016
Due date:
% Done:
0%
Estimated time:
Description
wt-3.3.5,
Circles drawn on googlemap are not removed when clearing overlay.
Have made patch that fixes it for me, perhaps useful for others
---- wt-3.3.5/src/Wt/WGoogleMap.C 2016-06-16 15:15:53.879773247 +0200
- wt-3.3.5/src/Wt/WGoogleMap.C_new 2016-06-22 10:25:14.583079250 +0200
@@ --378,7 +378,8 @@ void WGoogleMap::addCircle(const Coordin
" strokeColor:\"" << strokeColor.cssText() << "\","
" strokeOpacity: " << strokeOpacity <<
"} "
- ");";
- ");"
- << jsRef() << ".map.overlays.push(circle);";
doGmJavaScript(strm.str());
}
KD Updated by Koen Deforche about 10 years ago
- Status changed from New to InProgress
- Assignee set to Roel Standaert
- Target version set to 3.3.6
RS Updated by Roel Standaert about 10 years ago
- Status changed from InProgress to Implemented @Emweb
KD Updated by Koen Deforche about 10 years ago
- Status changed from Implemented @Emweb to Resolved
KD Updated by Koen Deforche about 10 years ago
- Status changed from Resolved to Closed
Actions