Official Content

This event is triggered when you finish editing a variable/attribute based on the Geography data type, which can happen in two ways:

Syntax

Event GridControlName.GeographySaved(&Geography [,&GeographyId]
     <event code>
EndEvent

Where:
GridControlName
       Is the Grid control name whose Control Type property is set to Maps.

<event code> 
       Code executed when the event is triggered.

Parameters 

  Data Type Description
&Geography Geography It is the Geography result obtained from the edition.
&GeographyId Character It is a returned autogenerated GUID that identifies the drawn geography.

Scope

Generators: AndroidApple
Controls: Grid (Control Type: Maps)

Samples

Event MapGrid.GeographySaved(&Geography, &GeographyId)
    composite
        &GeographySDT = new()
        &GeographySDT.Id = &GeographyId
        &GeographySDT.Feature = &Geography
        &Geographies.Add(&GeographySDT)
    endcomposite
Endevent

Availability

This method is available since GeneXus 17.

Last update: November 2023 | © GeneXus. All rights reserved. GeneXus Powered by Globant