Maps - DrawGeography Method

Unofficial Content
This documentation is valid for:

Lets draw a geography in Grid control type Maps

Syntax

GeographyId = MapGrid.DrawGeography(Geography )
GeographyId = MapGrid.DrawGeography(Geography, ClassName )
GeographyId = MapGrid.DrawGeography(GeoPoint, ClassName )
GeographyId = MapGrid.DrawGeography(GeoLine, ClassName )
GeographyId = MapGrid.DrawGeography(GeoPolygon, ClassName )

Where ClasName is Character. and optionally.It the name of the theme class to use for drawing
Where GeographyId  is Varchar, it is a Guid to identifiy the geography drawn

Example

&Geography.FromString("LINESTRING(-56.082774 -34.884341, -56.074583 -34.881745)")
&GeographyId = MapGrid.DrawGeography(&Geography)

Avialability

This method is available since GeneXus 17.

See also

Maps
Maps - DrawGeoLine Method (deprecated)