Skip to content
This repository was archived by the owner on Jan 2, 2018. It is now read-only.

davetimmins/arcgis-fullscreen-widget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

arcgis-fullscreen-widget

An ArcGIS JS V4 widget that uses the Fullscreen API.

npm

Include the style, create the widget, then add it to your map UI

require([ "custom-widgets/FullScreen" ], function(FullScreen) { // create your map and view var toggle = new FullScreen({ view: view, hideIfFullScreenDisabled: false // default is true }); view.ui.add(toggle, "top-right");

Get it from here or via npm npm install arcgis-fullscreen-widget --save

Running locally

Download / clone this repository then run npm install > npm start

Credit

This uses screenfull internally and was influenced by existing leaflet plugins like https://github.com/brunob/leaflet.fullscreen and https://github.com/Leaflet/Leaflet.fullscreen

About

💻 An ArcGIS JS V4 widget that uses the Fullscreen API.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published