Embeddable Maps – adding an embedded map with optional custom functionality

1. Getting Started

Using JavaScript on the client side, this approach allows the user insert a map into any existing page. With additional development the MapID can be used to programmatically access the map object and add custom or packaged controls.

To begin embedding an interactive map in an existing page, follow these pages in their numbered order:

TIP: See also Building your own website

Notes:

  • This topic assumes that there is a working Cadcorp SIS WebMap installation available to receive the embedded map scripts.
  • The licence file (cadcorp.lservrc) must be valid for the development machine.
  • If an exception occurs, it will be written to an error log. The error log is in App_Data\ErrorLog in the WebMap installation folder (C:\inetpub\wwwroot\)
  • For the purposes of this exercise, it is assumed that WebMap is found at this location: http://localhost/SISWebMap9/
2. Setting up the Project