[Gambas-user] how to use gb.map offline?
gradobag at gradobag.it
Sun Jan 29 12:22:24 CET 2023
Il 29/01/23 12:07, roberto.premoli at tiscali.it ha scritto:
> Hi Gianluigi,
> thanks for attached project.
> I download and run, but it get stuck in
> Public Sub Form_Open()
> at the loop:
> For Each sLine As String In Split(File.Load("mps.txt"), "\n")
> error is related to $aMapPoints.Add(MapPoint.FromString(sLine)) that
> is reported as: "simbolo sconosciuto 'fromString' nella classe
> 'MapPoint' nel Fmain:11"
> i tried to comment the loop as follow
> 'For Each sLine As String In Split(File.Load("mps.txt"), "\n")
> ' $aMapPoints.Add(MapPoint.FromString(sLine))
> and rerun the program but it get stuk at:
> MapView1.Map["Shape"].AddPoint("Position", $aMapPoints) that is
> reported as: 'fuori dai limiti'.
> If commet als that, i fonud another error more firther, so it seems
> one of two: or the program is bugged since beginning (i don't think
> so) ol problem is somewhere else.
> So, still the same question: do i miss something? Or is gambas 3.15.2
> maybe present in debian stable too old to handle this project?
> If needed, I can move to 3.17.x from backports, even if i dislike to
> "contaminate" the "stable" of debian but if i must kneel down to
> 'necessary evil', i will do.
Hi Roberto and Fabien,
Even here with the latest master version of Gambas I get the same error
Row 11 $aMapPoints.Add(MapPoint.FromString(sLine)) <--- Unknown symbol.
Strange because the symbol is present in the class :-\
Fabien I haven't used gb.map for a long time, am I wrong or am I
Greetings to all
More information about the User