ArcGIS installation

This guide describes how to enable use of ESRI/ArcGIS maps in GpsGate Server VehicleTracker.

Install

  1. Log in to Site Admin.
  2. Go to the Plugins tab.
  3. Under My Plugins tab, make sure all plugins are up to date
  4. Install ArcGISMap.

Setup

  1. Go to Site Admin > Maps > ArcGIS
  2. Click New.
  3. Specify the Name, URL, and Description fields.
  4. Click Save.
  • Name: The name you use to reference when enabling the map in the VehicleTracker applications.
  • URL: Link to the ESRI/ArcGIS server and map you want to use. (Please make sure it is correct and responding by opening it in your browser first).
  • Description: An optional description note, mostly for your convenience.

When you have created a map, or several maps, you must now enable the maps for the Vehicle Tracker applications you will use. 

  1. Go to the Privileges and Features of your application > Maps.
  2. Enable _UseMapPlugin > ArcGISMap >  _UseArcGISMap privilege.
  3. From the _UseArcGISMap folder enable the individual ArcGIS map(s) you need.
  4. Click Save.

Default maps available from ArcGIS

Here are some existing maps available from ArcGIS you can try out: 

(Adding no maps will make the plugin fallback to a default OpenStreetMap layer)

How to enable CORS

The URL to the mapservers need to be accessible from the domain you browse from. If it’s not the same as your ArcGIS map server. Easiest is to enable CORS on your ArcGIS server

More information: https://developers.arcgis.com/javascript/jssamples/exp_cors_buffer.html
Alternately use the proxy: https://developers.arcgis.com/javascript/jshelp/ags_proxy.html

General information about CORS can be found here: http://enable-cors.org/

Geocoder

After installation select the ArcGIS geocoder in Site Admin > Applications > [your App] > Geocoding.

If you have registered for an ArcGIS account you can set your credentials in Site Admin > Maps > ArcGIS

You can read more about ArcGIS applications and credits here: https://developers.arcgis.com/