Rest Public Features

Rest Public offers following features:

      Map Toolbar

      Working with Toolbar Option

      Left Panel Controls



Map Toolbar

Exponare Rest Public toolbar is located at the top left corner of the viewport. Based on the menus and toolbar preferences selected in the Configuration Manager, you can hide or unhide toolbar options. Toolbar icons can also be customized on the basis of theme selected in Configuration Manager.

You can resize and drag toolbar inside viewport. For dragging, hold the Press and Drag iconCh_RestPublic00001.bmp provided at the upper right corner of the toolbar and resize the toolbar from the right corner of the toolbar (Ch_RestPublic00003.jpg). Toolbar can be reset by clicking on reset icon (Ch_RestPublic00006.bmp).

The table below lists all the available toolbar icons and its name.

Toolbar Icons







View history backward



View history forward



Zoom in



Zoom Out






Info tool



Line Selection



Rectangle Selection



Unselect All



Measure Distance



Measure Area



Point Coordinate Export



Polyline Coordinate Export



Polygon Coordinate Export



Draw Line



Draw Polygon



Draw Text Annotation



Draw Symbol Annotation



Clear Annotations



Zoom to Selections



Zoom to Active Selection



Views List



Layer Setting Shortcut



Show\Hide Markers on Map











i         The toolbar options are available on the basis of menus and toolbar preferences selected in the Configuration manager settings. Some users may not have all of these toolbar options. The toolbar options will be displayed in order as they are added in Configuration Manager.

Working with Toolbar Option

You can use following toolbar options while working on maps.





      Text Annotations



      Layer Shortcut


      Label Layer Tool


The Home button resets the view to the starting view for the Work Context. Selections are not affected.

i                On change of work context, previous work context zoom level settings is preserved and the map load at same zoom level for new work context. If bounds of work contexts are different then a message will be displayed to user and new work context will be displayed at its Home view.


There are following types of selections available in Rest Public toolbar:

1.    Point Selection (Info tool) - Selects all the features under a single point.

2.    Multiple Selections - It includes Rectangle and Polyline selection.

3.    Zoom to Selections - Adjust the zoom view so that all selected items fit within the map window.

4.    Zoom to Active Selection - Adjust the zoom view to fit the extents of the active selected item.

i     You can use Show\Hide Marker option on the toolbar to display markers on your selection.

Figure: Selection



Point Selection (Info tool)

Rest Public allows users to select all the features under a single point by using Info tool. You can see information of the features selected by Info tool in the left pane called search results. Info marker is drawn exactly at the location where you click on the map.

Multiple Selections

It includes Rectangle selection and Polyline selection. The Rectangle selection selects all the features that lie within a rectangle and Polyline selection selects all the features that lie within polyline.

In case of multiple selections, the active selection can be distinguished by using color and marker.

i                Please wait for the map to load completely before making selections. You can perform selections, once the map loading is complete.

Zoom to Selections

It adjust the zoom view to fit the extents of the currently selected item. It changes the map view to nicely fit the selected Features, plus an additional area as defined by the Administrator.

i                When Zoom to Selections is activated, you can zoom to selections by using drop down option and previous and next button in the search results window.

Zoom to Active Selection

It adjusts the zoom view to fit the extents of the currently active selected item. It changes the map view to nicely fit the Active Selection, plus an additional area as defined by the Administrator. 

i                When Zoom to Active Selection is activated, you can zoom to active selections by using drop down option and Next and Previous button in the search results window.

Hover Over

Rest Public now supports hover over feature for the selections drawn on map. You can use Show\Hide Marker option on the toolbar to show or hide markers for the selections drawn on map.

      Hover over, blue markers are seen for all selections for a layer selected in left Information panel drop down and red marker is seen for a current active feature in left Information panel.

      When a mouse cursor moves over selected feature, that feature is highlighted and first data bind information is seen over map. When mouse cursor moves to a different selected feature, another feature is highlighted and that's feature first data bind information is seen over map.

      On click inside selected feature for layer selected seen in Left panel drop down, the feature will get active and a red marker and data bind information is updated in left Information panel.

      On click inside selected feature for the layer unselected in Left panel drop down, new selection will be drawn on map.

      If selections is available on map, and User chooses to perform another operation on map such as measure controls, coordinate export, draw operations (draw symbol, polyline. polygon), text annotations than hover over features are disable. User has to make fresh selections to enable hover over features.

      The state of markers on map is maintained on changing work context.

i                Hover over feature will only work if information (Feature Details) panel is set in public interface in configuration manager.



Databind results depend on selectability of a layer. Selections on map can be performed using any of the selection tools (Point Select, Polyline select and Rectangle select) or through running a query. Databind results is seen on the 'Search Results' tab in the left panel of Rest Public application page.

1.    You can select a layer only if it is visible on the map.

 i          In Internet Explorer (IE) 8 browser, at certain zoom levels the selected feature does not render complex region objects (such as regions with greater than 10,000 nodes).


Rest Public allows users to draw annotations like point, line and polygon. It also allows user to print annotations. Below is the screen shot which highlights different types of annotations and clear annotation.

Figure: Annotations



You can use clear annotations Ch_RestPublic00089.png map operation to clear drawn annotations.

Text Annotations

The text annotation allows you to write text on the map.

To add text annotation:

1.    Click on the text annotation Ch_RestPublic00091.jpg button to add text to the map. The text annotation pane appears in left side pane.

2.    Now, click on the map where you want to write a text. A bubble text box appear on the map.

Figure: Text Annotations



3.    Enter the text in Bubble Text box and click Go. The bubble text box disappear and the text is visible on the map.

i         Only one bubble text box is available at a time on the map. The default text in the text box is the last text entered by you.
You cannot use shortcut keys like Enter for Go button. You will have to click on text box for writing text in it.

You can remove text annotations by clicking clear annotations button Ch_RestPublic00093.png on the toolbar.

You can change the properties of text annotation, font, color, indentation from text annotation pane on the left control panel. For details, refer to Annotation Panel.


Public Rest allows users to measure distance and area in desired units like inches and square inches. Below is the screen shot highlighting the unit drop-down for length.

Figure: Measure Distance and Measure Area



Figure below displays the screen shot highlighting the Measurement values being rendered on the fly along with geometry.

Figure: Measurement Values




The Back and Forward buttons are for navigation history control. These are used to restore previous and next history states. The previous and next controls becomes active when there are available states to restore and it becomes deactive when there are no states to restore.

Layer Shortcut

A Layer Shortcut is a quick way to invoke a group of changes such as layer visibility, layer selectability and layer order to the layer settings shown in the Legend panel.

Figure: Layer Shortcut



For example, you can define a Layer Shortcut to bring all the parks layers to the top of the layer list and make them visible. Another example is a shortcut that toggles the visibility of a number of raster layers.

i          Work Context Auto Labeling, Appears as Toolbar Shortcut, Icon, Auto-labeled and Expand in Legend settings are not available in Rest public for Layer Settings Shortcut.


A View provides a quick way to set the zoom and pan of a map. For example, you can create a View that centers the map over a railway station with a zoom width of 200 meters.

You can access list of available Views from the Exponare Rest Public toolbar.

Figure: Views List



i         The views feature in Rest Public comes with a limitation enforced upon by use of OpenLayers because of which it cannot zoom to the exact value as specified in configuration manager. It zooms to the nearest possible level hence slight mis-match between a view rendered in Enquiry (or Public) vs the Rest Public can be expected.

 Use of OpenLayers allow us to go to a specific levels of minimum and maximum zoom hence the minimum and maximum zoom level settings specified in configuration manager are not honored.

 Similarly, unlike Exponare Enquiry and Exponare Public, it also allows us to switch to locations outside of work context boundary. Hence, the issue of centroid lying outside work context boundary is not observed.

Label Layer Tool

In the previous versions of Exponare, label layer settings follows the same rule set as that of feature layer. If feature layer is not visible or not in zoom range than its label layer also become unavailable. In this version, label layers are independent of the feature layer settings. A label tool Ch_RestPublic00095.bmpis shown on the map to enable/disable label layers. Each individual label can be turned on/off using this user interface tool. Now multiple labels are supported for a layer in Rest Public.

Label toolCh_RestPublic00097.bmp is available below the scale bar on right side of the viewport.

Figure: Label Layer Tool



i          If no label is defined for the work context in Workspace manager, then label layer and label layer tool does not appear on map.

The visible zoom range for label layer updates label layer on map but it doesn't update label layer check boxes in label layer tool.

Reordering of layers in Legend panel doesn't reorder label layer in label layer tool panel.

Work Context auto-labeling' setting in Layer Settings Shortcuts in Configuration Manager is not implemented for Rest Public.

i           Label themes (Individual & Ranged) are not supported in Rest Public.

Left Panel Controls

The left panel controls in Rest Public can be made available to users based on the basis of user interface preferences selected in the Configuration Manager.

Rest Public provides following panels on left side of the map.




      Coordinate Export


      Annotation Panel

i          In IE, you can not select any drop down item from left panel when it is in floating mode, for this you have to pin down the left panel.

i         The left panel controls are available on the basis of user interface preferences selected in the Configuration manager settings. Some users may not have all of these panels. The Left Panel controls will be displayed in order as they are added in Configuration Manager. In case no panel item is added for a user, then left panel will not be displayed.


Layers listed in the configuration manager are listed under legend and displays all settings defined in configuration manager.

Checking and un-checking against a layer can control visibility of a layer. The  below highlights the controls to make layers visible /invisible.

Figure: Layers



i   Rest Public do not support hyperlink target URL for Legend Panel.


Layout of legend is flexible. It allows you to pin and unpin and also resize as per the need. Below are   the pin and unpinned images.

Figure: Legends - Pin and Unpinned Images




Translucency of a layer can be adjusted by using translucency slider which will appear after right clicking on a layer. The image below highlights the slider to adjust layer translucency.

Figure: Translucency



Base Layer Choice

Base map layers provide map layer functionality designed to enhance visualization experience by underlying reference layers. In Rest Public there is an option for base layers inside layers tab. The image below highlights the user selected base layer.

Figure: Base Layer



i          Only one layer at a time can be applied by clicking on the check box. Choosing a Bing layer as reference would change the projection system of the map to “Popular Visualization”

If no base layer is required from the available list of Bing layers, user can switch to “None” option.

Layer Ordering

The order of layers can be changed by dragging and dropping a layer.

Figure: Layer Ordering



i         Layer can be reordered with in the group but layer cannot be added to a previously created group by drag and drop. No layer can be added to "Base Layer" group.

Custom Legend URL

Custom legend URL contains a small image for each unique visual feature in the Layer and a short textual description. It allows you to see greater level of detail about the layers.

Figure: Custom Legend URL



The layers with an arrow indicates that images are associated with it. You can expand and collapse these images.

i   If layer is not visible on the map it will not show the custom legend URL.


Layer can have one or more associated thematics which can be used to alter their appearance. If a layer shows a thematics, it is displayed under Thematic box. Click on the Thematics button to see a list of available thematics. You can show or hide the theme for the work context by checking/un-checking the items in this list.

Figure: Thematic



MapInfo Rest Public supports only three types of themes i.e. Ranged Theme, Dot Density and Individual Value.

If no themes are present in the MWS file (above mentioned 3) then the thematic button will not appear in the legend for the current work context.

Themes honor zoom range layering i.e. both the map as well the legend will be updated accordingly.

The thematic header can be governed by the localization.

The color of the thematic header and panel changes are governed by the Rest Public themes available to the user.


Rest Public allows you to search various information. To execute search:

1.    Click on Search in the left pane.

The search dialog box appears on the left pane.

Figure: Query



All query types that work for Exponare Enquiry and Exponare public are also supported.

1.    Once you have selected search, click on the submit button to view the selected feature on map. Figure below is highlighting the selected feature.

Figure: Selected Feature




i                Even if the layer is made invisible then also users will be able to see query selection.


After successful execution, the results of search appear on search results page. The Information results are the non-spatial data associated with selected features on the map. The information panel displays the Feature Details View.

The Feature Details Panel displays data associated with the active feature. Various categories of information (called Data Binds) can be opened or closed. If multiple records of information exist in any one Data Bind for the active feature they can be navigated through using the Data Bind record selector.

The Feature Details Panel can be used to change the active feature either by choosing another layer with the layer selector drop-down option or another feature in the current layer with the feature selector drop-down option. When a new feature is chosen the information for that feature will be displayed and the map will update and highlight the feature as the active selection.

You can navigate to next selection by using Next and Previous button on the feature selector bar. You can also expand and collapse property details by using plus\minus button on the Feature selector bar.


Figure: Information - Search Results




Information window can be pinned and unpinned as per need. The panel can be expanded and collapsed at the click of the navigation button located that top right corner of the panel. Also, the user continues to have the flexibility of stretching the panels as per need.

i                A bubble will be displayed on the map for the current active selection. The active color selection will be displayed as per the Configuration manager setting.

In case there are more than one feature underneath the selection, the selection color would change to active selection based on active selection feature and switching between different layers

Coordinate Export

Rest Public allows users to export line, polyline and polygon coordinates and view the same in export coordinates tab in right pane. Figure below displays export coordinate tab.

Figure: Coordinate Export




It allows you to print annotations, export coordinates, measured distance and measured area. It provides print templates in .html or .htm format. It also allows you to preview your map before printing.

Printing also provides options to print at different scale levels. The scale levels can be defined in configuration manager or you can give your own scale at which map should be zoomed on printing. In case No specific scale is given, it will print at the level on which map is zoomed. On scaling it will maintain the center of the map. It will not scale the map to exact level but to the nearest zoom level.

i                If the print scale value entered or selected does not exist in map then the map scale will be adjusted to the nearest possible scale.

Print Preview

To preview the map before printing:

1.    Click on the Print Panel on the left pane to open the print options.

Figure: Print Panel




2.    Select Print template from Print drop-down list. For details on creating Rest Public HTML print template, refer to Creating Rest Public HTML Print Template.

3.    Select from Print Scale options to print at the nearest scale of the given scale:

      Print at current zoom - allows printing at scale which is defined on map.

      Print at scale - give options to print at the scale level defined in Configuration manager. Select scales from drop-down list. You can select any one scale for printing and it will print at the nearest scale available.

      Print at exact scale - allow user to manually give any value and on clicking Print it will print at the nearest scale available.

i                In case you have not given any value in Print at exact scale option, an error message will appear “The scale you specified was incorrect. Please try again”.

4.    Enter the title in the Map Tile text box.

5.    Click Print to see print preview.

The Print preview window appears. It displays map, legends and data bind information about    items selected on map before printing.

Figure: Print Preview




The print preview window allows you to:

1.   Pan the map

2.   Zoom in and zoom out of the map by scrolling the mouse.

Note:        The zoom seen in the Print preview window is dependent on the size assigned to map division (div). This value can be altered by the administrator to match the default map zoom requirements.

6.    Click Print to print the map.

Print Map to PDF

You can Print your map to PDF from supported browsers like Chrome and Mozilla Firefox 14.0 and above.


To print the web page you're viewing in Chrome, press Ctrl+P. For more information on Printing through Chrome browser, refer to their website.


i                Once you select print to pdf option in the Chrome browser, it does not allow further zooming and panning in the print preview window.

Firefox 14 and above

To print the web page you are viewing in Firefox, click on the Firefox button at the top of the Firefox window, (File menu in Windows XP) and select Print. For more information on Printing through Firefox browser, refer to their website.

Annotation Panel

The text annotation pane allows you to change the properties for text annotation. To change the properties for annotation:

1.    Click on the arrow at the bottom of the left pane to open the annotation dialog box.

The annotation box appears.

Figure: Annotation Text Properties



2.    Under Text Properties, you can change Font Family, Font Size, Style of the text. It allows you to align your text to left, center and right. You can also change font color. By default it is brown.

i    Font options listed here do not comply to the setting mentioned in configuration manager.