# EXT\_GMAPS\_LoadMap

> MSS documentation · https://doc.sysdevmobile.com/mss/extensibility/functions-kalipso-to-mss/gmaps/ext_gmaps_loadmap
>
> EXT_GMAPS_LoadMap gera o ficheiro de um mapa Google Maps com a posição atual e um ou vários pontos, para abrir num HTML Viewer.

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.
:::
