Draws geography in a Panel Grid whose Control Type property is set to Maps.
&GUID = GridControlName.DrawGeography(Geography)
Where:
GridControlName
Grid control name whose Control Type property is set to Maps.
Geography
Attribute or variable based on the Geography data type.
Type Returned:
Varchar (GUID to identify the geography drawn).
&Geography.FromString("LINESTRING(-56.082774 -34.884341, -56.074583 -34.881745)")
&GeographyId = MapGrid.DrawGeography(&Geography)
This only applies to events on the client, such as user events, excepts for the ClientStart event.
To draw on the server, use the Location Attribute property.
The refresh event clears the geometries drawn by this method.
This method is available since GeneXus 17.
DrawGeoLine Method