Client Static Map From Coordinates Returns a string containing HTML wrapping a Google Map image centered on the requested coordinates in a IFrame element. This function requires that you have a Google Maps API key configured in Settings.

<para> Used in various places, e.g., AML verification reports that show device's location. </para> <para> This displays a static map, i.e. an image. It does not provide scroll and zoom functions but does render correctly in summary page reports and PDF documents. Use Client_MapFromCoordinates for applications such as KEY.DETAILS and Client_StaticMapFromCoordinates when the ability to render to reports is required. </para> <para> The following Constants are used from ScriptInfo: <list> <item>None</item> </list> </para> <para> The following Constants are used from callerScriptInfo: <list> <item>None</item> </list> </para>

Syntax

finSummaryPageStandardBlocksBase.Client_StaticMapFromCoordinates(callerScriptInfo, latitude, longitude, [mapHeight], [mapWidth], [zoom])

Parameters

NameTypeOptionalByRefDescription
callerScriptInfo ISScriptExecutionInfo The Script Information of the Script calling this method.
latitude Double The latitude coordinate to centre the map on. Note the Google Maps uses only 6dp precision.
longitude Double The longitude coordinate to centre the map on. Note the Google Maps uses only 6dp precision.
mapHeight Integer Optional The map image height." If omitted, a value of 320 is assumed.
mapWidth Integer Optional The map image width." If omitted, a value of 480 is assumed.
zoom Integer Optional The zoom level of the map. If omitted, a value of 16 is assumed.

Return Value

String

A String value containing HTML.

Member of:
finSummaryPageStandardBlocksBase
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0