Bespoke Applications – Building your own website

5. Adding Functionality

Now you have a map you need to interact with it. Open Layers has many controls that perform specific tasks. Cadcorp Web API has encapsulated many of these in easy to configure server side controls. See http://dev.openlayers.org/docs/files/OpenLayers/Control-js.html

https://help.cadcorp.com/en/9.0/api-Server/html/Properties_T_Cadcorp_Web_UI_OpenLayers_Map.htm

In this topic we will add functionality to add measuring capability to your map. This is an already existing control.

6. Creating a custom control