Map does not display 'Error - Failed to initialize WebGL'
There can be issues with certain combinations of video/graphic cards, browsers and Operating Systems. It is a requirement of Azure Maps which eSpatial uses as its core mapping component.
Troubleshooting steps for this error:
- Get latest browser version
- Test in another browser
- Get latest video card drivers
- Restart your device
- Go to: Chrome Settings -> System -> ensure "Use hardware acceleration when available" is enabled.
- Go to: chrome://flags/#ignore-gpu-blacklist and enable this option, restart device (restarting Chrome alone may not work with this change)
- Ensure that the Disable3DAPIs policy is not set for the browser. To check, enter chrome://policy/ into browser URL. See also: https://chromeenterprise.google/policies/?policy=Disable3DAPIs
- Go to: https://get.webgl.org/ in each browser. Do you see the see spinning cube?
- Go to: http://mapbox.github.io/mapbox-gl-supported/ Does a message saying 'Map GL JS is supported' appear?
- Go to: https://samples.azuremaps.com/map/detect-if-browser-is-supported - Does a map appear?
- If using Chrome, enter chrome://gpu in the nav bar, copy content of page and send to help@espatial.com
- If using Safari on iPad,
- upgrade to the very latest iOS version
- If you cannot upgrade to the latest, please go to settings, Safari, Advanced, Experimental Features. Ensure WebGL 2.0 is Enabled, WebGL via Metal is Disabled