Trigger Openlayers Fullscreen Map

时间:2017-06-19 14:05:00

标签: openlayers-3

Hi is there a way to trigger the fullscreen map on Openlayers? I know there's a control that we can add on the map to trigger the fullscreen. But I'm wondering if there are functions that I can use to make my Map display in fullscreen Mode?

1 个答案:

答案 0 :(得分:0)

您可以在地图的getTargetElement上调用相应的方法,例如:

g_without_nan = g.cat.add_categories("D").fillna("D")