Hide the control if the Fullscreen API is not supported
This commit is contained in:
committed by
Tom Payne
parent
8206cf111f
commit
7b0e036b83
@@ -49,6 +49,7 @@
|
||||
<div class="span4">
|
||||
<h4 id="title">Full screen control example</h4>
|
||||
<p id="shortdesc">Example of a full screen control. Click the control in the top right corner to go full screen. Click it again to exit full screen.</p>
|
||||
<p>If there is no button on the map, your browser does not support the <a href="http://caniuse.com/#feat=fullscreen">Full Screen API</a>.</p>
|
||||
<div id="docs">
|
||||
<p>See the <a href="full-screen.js" target="_blank">full-screen.js source</a> to see how this is done.</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user