1.39. How to switch on CORS for your Web GIS

Note

This functionality is available only to nextgis.com Mini and Premium users.

If you’re a developer and would like to use your Web GIS as a backend for your own map or an app, you can switch on and set up CORS. This mode allows to use data from Web GIS for a map or system on your ogranization’s domain, while all geodata uploads and management pains will be taken care of by your Web GIS at nextgis.com.

  1. To switch on CORS, first go to your Web GIS Control panel:

../../_images/Control_panel_eng.png

Pic. 1.221. Selecting Control panel

  1. Select “Cross-origin resource sharing (CORS)” section and enter allowed origins for cross-domain requests on CORS Settings page:

../../_images/CORS_select_eng.png

Pic. 1.222. Selecting CORS in the Control panel

../../_images/CORS_settings_eng.png

Pic. 1.223. CORS settings page

Press Save.