Download presentation
Presentation is loading. Please wait.
Published byMelvyn Cross Modified over 8 years ago
1
© 2016 IBM Corporation EsriJS Connector
2
© 2016 IBM Corporation Overview This presentation is a review of the EsriJS Connector feature introduced in TRIRIGA Application Platform 3.3.1. Explore how to: –Understand the objects that makeup the Connector –Navigate to GIS Map –Setup sample basemaps, layers, queries and widgets –Where to go online for maps, layers and or ideas for new widgets 2
3
© 2016 IBM Corporation EsriJS Object Overview 3 GIS Map - Each of these objects is passed as a parameter to Custom Tab / Portal URL GIS BaseMap - Allows for custom basemaps to be added for this Viewer GIS Layer - Allows for custom layers to be added for this Viewer GIS Widget - Allows widgets to be developed and deployed independent of platform or application releases. GIS Query – Allows you to define query’s to execute instead of anchor queries used today. GIS Map GIS BaseMap (n times) GIS Widget (n times) GIS Query (n times) GIS Layer (n times) TRIRIGA Custom ClassLoader EsriJS configuration is controlled by several platform delivered objects
4
© 2016 IBM Corporation GIS Map The GIS Map Business Object: –Houses configuration for how Esri map will function –Is URL based, extends Custom ClassLoader and ServletProxy Added to External URL for portal sections and Custom Tabs GIS Map configuration is record based –Each instance of a GIS Map record has a unique URL –Can have portal section with multiple GIS Map Objects Can be Object Migrated between environments Query sections of other elements to help define behavior –TRIRIGA Queries Report, Query and Metric query types –Basemaps, Layers and Widgets Can add custom icons per map 4
5
© 2016 IBM Corporation GIS Basemaps Basemaps are defined by REST Endpoint (URL based) –Bottom most layer on map –Geographic and Web Mercator interchangeable Added to list of end user selectable maps –Users can dynamically change the maps at runtime 5
6
© 2016 IBM Corporation GIS Query Queries are TRIRIGA queries –Report, Query and Metric (tabular) –If ‘Latitude’ and ‘Longitude’ in the results, points are represented on map. –If Metric query, color coded threshold icons are represented –For Metric queries, the triRecordIdSY field needs to be included as one of the report columns in order for a record link to appear in a pins mouse-over dialog. The record link displays automatically for standard queries. 6 Queries display in runtime dropdown
7
© 2016 IBM Corporation GIS Layers Layers section is similar to Basemaps –URL based via Esri server REST service –Dynamically displayed on runtime map and can be toggled. –Can default to display –Can default the opacity 7 Legends automatically added and displayed
8
© 2016 IBM Corporation Widgets Widgets are Esri JavaScript widgets that can be added to maps to extend functionality. –Stored in binary field in GIS Map > Options tab –Rendered at runtime –Can apply group security to display widgets on map Users must be a member of the TRIRIGA GIS Widget View Mode security group in order to view widgets. Sample widgets are provided to demonstrate how to interact with Map object at runtime. For further information on how to use the Esri JavaScript API, review their developer site: https://developers.arcgis.com/javascript/ 8
9
© 2016 IBM Corporation Custom Icons Icons are used to show points on the map –Default icons are blue flags – used for non-metric queries –Flags for metric queries are red, green, yellow 9 Custom icons for the default query results
10
© 2016 IBM Corporation Preview Tab Allows you to see your changes immediately how they will be displayed Shows constructed URL to add to your portal or custom tabs Debugging is automatically turned on during preview –Verbose debug statements are sent to server.log 10
11
© 2016 IBM Corporation Resources TRIRIGA Connector User Guide –https://www.ibm.com/support/knowledgecenter/#!/SSHEB3_3.5.0/com.ibm.tap.doc/con_ esri/t_ctr_esri_overview.html 11
12
© 2016 IBM Corporation Resources (Continued) http://developers.arcgis.com/en/javascript/jssamples/ http://developers.arcgis.com/en/javascript/jssamples/ Online community and resources to get ideas on how to extend the EsriJS connector. 12
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.