You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GWT newbie here, trying to render locations on a Google map.
Found in Release: google-maps (v3)
Detailed description:
I'm rendering directions on the map using a query ...
Directions.load(query, opts, new DirectionsCallback() { ...
I grab the polygon after it has rendered successfully.
public void onSuccess(DirectionResults result) {
route = result.getPolyline();
However when I rerun the query using different locations the old directions are
not being removed
I've tried to get the polygon 'route' set it to invisible and remove it from
the map before loading a new query ...
route.setVisible(Boolean.FALSE);
map.removeOverlay(route);
but this doesn't work.
Workaround if you have one:
Links to the relevant GWT Developer Forum posts:
Thanks in advance.
Original issue reported on code.google.com by peterche...@gmail.com on 5 Dec 2013 at 9:47
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
peterche...@gmail.com
on 5 Dec 2013 at 9:47The text was updated successfully, but these errors were encountered: