Redrawing/Refreshing/Rendering Map

Hi,

I am trying to redraw a google map view after changing the center location of the map but found no methods supporting it. Any suggestions for a workaround? Any help is appreciated. Thanks!

Cheers,
Kelvin

The map property of googlemap view refers the map object. So, you may call any GoogleMaps API:

dhx.ui({
id:“mymap”,
view:“googlemap”
});
$$(“mymap”).map.setCenter({x:48.724,y: 8.215});

Thanks Alexandra!

By any chance, would you know how to add a marker on the existing map?

Thanks again!

Its alright, managed to get it working already =) Thanks again anyway!