HexGeo-IMGS Logo

Author: Vijay Sambhe, Senior Applications Engineer at IMGS


Hexagon’s Geospatial Portal – Locate a coordinate in the Map

Hexagon’s Geospatial Portal is a full-featured, configurable and customisable thin client application that can be used for finding, viewing, querying, analysing, and consuming geospatial data published by Hexagon Geospatial products and/or other standard-based web services. The portal can be accessed by multiple users via web browsers as it is installed and configured on a web application server.

You can easily create custom functionality in the portal using JavaScript. The example shown here is developed using EXTJS. Ext JS is a pure JavaScript application framework for building interactive cross platform web applications using techniques such as Ajax, DHTML and DOM scripting. Originally built as an add-on library extension of YUI by Jack Slocum April 15, 2007, Ext JS includes interoperability with jQuery and Prototype.

I have created a sample application using the JavaScript coding – Locate a coordinate in the map.  In the form, the user is asked to enter coordinate details and the scale at which the zoom is needed.

telecomser

When the Locate button is clicked the map zooms in to the location and also it shows the message as shown below.

telecomser2

Again, this is all done via a client side coding on instance service website which was pretty simple. Create your own JavaScript file and add the reference in the full.aspx by simply editing the file in the notepad editor.

Plenty of help and code examples are available on Hexagon’s Knowledge base here.

Leave a Comment

Your email address will not be published. Required fields are marked *