Availability of the latitude and longitude is imperative for displaying the location on the map.
Map-enabled entities are those in which the data includes the latitude/longitude directly or in which the data can be derived using other information captured on the Business Object.
To enable a map on a maintenance portal:
The common schema for geo map derivation service scripts is:
<schema> <includeDA name="C1-GeoMapInfo"/> </schema>
For each location retrieve:
There is also an option to override the displayed map completely. The output of the script may include an alternative map window style, map theme, map layer, default initial zoom and even point to an alternative Oracle MapViewer installation.
ss='C1-GMShwZn' input=[mo='C1-ASSET' pkval1=ASSET_ID] output=shouldShowZone
XML Parameter 1:
name=ASSET_ID targetPath=input/pkValue1 poprule=R
XML Parameter 2:
name=MAINT_OBJ_CD targetPath=input/mo spec='C1-ASSET'
Refer to Zone C1-ASSETMAP as an example.
Configure an explorer column to invoke the BPA script C1-GeoMapOP, passing entity information (Maintenance Object and Primary Keys) as an input. The script determines the business objects, invokes the geo map derivation script, and opens a UI map with the data returned by the script.
An example of the column configuration for the Asset Search:
source=SQLCOL sqlcol=LABEL_LONG label=ADDRESS_MAP_LBL bpa='C1-GeoMapOP' tempstorage=[mo='C1-ASSET' pkValue1=ASSET_ID]
Refer to zone C1-ASSETQ1 as an example.
Copyright © 2007, 2016, Oracle and/or its affiliates. All rights reserved. Documentation build: 2.5.2016 10:21:45 [T1_1454696505000]