google maps - How to refresh a GoogleMap instance within gmapsfx (in Java)? -
i searching way refresh display of instance of googlemap within gmapsfx.
this remove markers displayed map have been removed map instance (they disappear once map has been zoomed or panned).
the markers added with
map.addmarker();
and removed with
map.removemarker( markerinstance );
i imagine must around somewhere... appreciated.
a workaround provided perform refresh changing zoom level value again.
// force update changing zoom level in background int currentzoom = map.getzoom(); map.setzoom( currentzoom - 1 ); map.setzoom( currentzoom );
Comments
Post a Comment