Hide the control if the Fullscreen API is not supported

This commit is contained in:
Frederic Junod
2013-04-10 10:59:38 +02:00
committed by Tom Payne
parent 8206cf111f
commit 7b0e036b83
4 changed files with 17 additions and 4 deletions

View File

@@ -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>