Saltar para o conteúdo principal

EXT_GMAPS_LoadMap

Function to ask MSS to create a Google Maps map file, with the current position and one or more points, to load in an HTML Viewer.

Input parameters:

  • inMyLocation_Latitude – Current position Latitude;
  • inMyLocation_Longitude – Current position Longitude;
  • inShowPoint – Show specific point: 1 – Yes / 0 – No;
  • inPoint_Latitude – Specific point Latitude;
  • inPoint_Longitude – Specific point Longitude;
  • inCanChangePointLocation – If user can change specific point location by clicking on map: 1 – Yes / 0 – No;
  • inZoom – Zoom value (when showing multiple points, the zoom is calculated to show all points);
  • inPointsList_Latitude – Latitude of multiple points (values separated by ASCII 7);
  • inPointsList_Longitude – Longitude of multiple points (values separated by ASCII 7);
  • inPointsList_Title – Titles of multiple points (values separated by ASCII 7);
  • inPointsList_Icon – Icons of multiple points (values separated by ASCII 7);
  • inPointsShowLabels – Show labels with titles of each point: 1 – Yes / 0 – No;
  • inPointsList_GooglePlacesID – Google places ID of multiple points (values separated by ASCII 7 - Optional);

Output parameters:

  • outResultCode – Return code: 0 – Done / < 0 User canceled selection or error occurred;
  • outMapFileName – Full path of the file to load in the HTML Viewer;
info

Note: Google maps api key is required and is loaded directly in the function.