Lets draw a Geoline in Grid control type Maps.
It method is deprecated ,the same functionality is provided by Maps - DrawGeography Method
MapGrid.DrawGeoLine(GeoLine, Theme Class Name)
Theme Class Name is based on the Character data type.. It the name of the theme class to use for drawing.
&GeoLine.FromString("LINESTRING(-56.082774 -34.884341, -56.074583 -34.881745)")
This method is available since GeneXus 16.
Maps - DrawGeography Method