Hide the control if the Fullscreen API is not supported
This commit is contained in:
1 parent
8206cf111f
commit
7b0e036b83
4 files changed
+17
-4
No files matched your search
@@ -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