@dr.fornax I am not sure if I am understanding correctly, you are trying to move the viewpoint of the map to a different location pragmatically? Or why do you need to refresh the map. If I start the sample program I posted the map is loaded automatically.