Hexagon Geospatial

Developers Knowledge Base

WebGIS enables powerful geospatial web applications and services that securely share your organization’s rich geospatial data, and provides tools to deeply examine spatial data and create value added products, on demand.
Showing results for 
Search instead for 
Do you mean 

Introduction to Customization

by Technical Evangelist on ‎09-02-2015 06:43 AM - edited on ‎04-06-2017 05:27 AM by Technical Evangelist (1,061 Views)

GUI Overview

Portal User Interface

Geospatial Portal User Interface consists of some predefined sections and elements, which are provided together with the Map Window. The basic interface configuration is available through the Administration Console. The parts of interface such as Toolbar(s), Sidebar(s), Banner etc. may be modified, disabled or extended. Even some of the map elements (like Crosshair, Scale Bar etc.) may be switched on/off. A substantial scope of features can be predefined by the initial configuration and modified programatically.


GUI Modification

JavaScript API

The best approach to introduce the custom Geospatial Portal modification is to use the JavaScript API brought alongside the Portal.

JS API Deployment

API.js file shall be delivered within the Application project. The recommended way is to put it in the js folder in the Application and refer in the relevant *.aspx templates.


 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" runat="server">
 <head runat="server">
     <meta http-equiv="X-UA-Compatible" content="IE=edge" />
     <title><asp:Localize runat="server" meta:resourcekey="Title" /></title>
     <script type="text/javascript" src="js/API.js"></script>

API Overview

The most useful section of JS API will be $GP.ui section which introduces the set of methods and objects that provide functionality to display and get handles to some of the interface elements. However, the other chapters of JS API may also be helpful while providing custom modifications.