This event is triggered when you finish editing a variable/attribute based on the Geography data type, which can happen in two ways:
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. |
Generators: Android, Apple
Controls: Grid (Control Type: Maps)
Event MapGrid.GeographySaved(&Geography, &GeographyId)
composite
&GeographySDT = new()
&GeographySDT.Id = &GeographyId
&GeographySDT.Feature = &Geography
&Geographies.Add(&GeographySDT)
endcomposite
Endevent
This method is available since GeneXus 17.