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

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -