Using the API
Loading a Map
Code example for loading a map on a browser page
- Add
<script> src=" https://accela-aaqa.cloudapp.net/agis/api" > </script>
into the<body><body/>
element. - Assuming a DIV element named "testMap", create a new AGISMap instance:
<script> var map = new AGISMap("testMap", { "agencyCode": "SACCO", "aaServiceId": "SAC_AGIS", "product": "AA", "groupId": "aa_AGIS_group", "userId": "admin", "lang": "en", "commands": [ { "action": "CREATE_CAP", "label": "Create New Record_001" }, { "action": "DRIVETIME_BUFFERSELECT", "label": "Drive-Time Buffer Select_002" } ] }); </script>