Project

General

Profile

Actions

Bug #4990

closed

WGoogleMap Circles are not cleared

Added by jimmi lauritsen almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Roel Standaert
Target version:
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());

}

Actions #1

Updated by Koen Deforche almost 8 years ago

  • Status changed from New to InProgress
  • Assignee set to Roel Standaert
  • Target version set to 3.3.6
Actions #2

Updated by Roel Standaert almost 8 years ago

  • Status changed from InProgress to Implemented @Emweb
Actions #3

Updated by Koen Deforche almost 8 years ago

  • Status changed from Implemented @Emweb to Resolved
Actions #4

Updated by Koen Deforche almost 8 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF