ShowOnMap

Returns a map entry with a marker on the given coordinates (lat,lng), or address (requires a configured GoogleMaps instance).

javascript · Common Scripts

Details

IDShowOnMap
Languagejavascript
From Version5.0.0
TagsUtility

README

Returns a map entry with a marker on the given coordinate (lat, lng).

Note: To use the address field, make sure you have set up an instance of the GoogleMaps integration.

Script Data


Name Description
Script Type javascript
Tags Utility

Inputs


Argument Name Description
lat The latitude. For example, 32.064622.
lng The longitude. For example, 34.774131.
address A location description. For example, 1600 pennsylvania ave, DC or Mount Kilimanjaro.

Outputs


There are no outputs for this script.

commonfields:
  id: ShowOnMap
  version: -1
name: ShowOnMap
script: ''
type: javascript
tags:
- Utility
comment: Returns a map entry with a marker on the given coordinates (lat,lng), or address (requires a configured GoogleMaps instance).
enabled: true
args:
- name: lat
  default: true
  description: Latitude (e.g. `32.064622`)
- name: lng
  description: Longitude (e.g. `34.774131`)
- name: address
  description: Address (e.g., `1600 Pennsylvania ave, DC`)
scripttarget: 0
fromversion: 5.0.0
marketplaces:
- xsoar
- marketplacev2
- platform