ich habe in meiner DBF die GPS Koordinaten und habe versucht die in Mappoint einpflegen.
leider zeigt er mir immer was mir dem Atlantischen Ozean an, was wohl nicht stimmt ...
Code: Alles auswählen
Locx 52.5051140
Locy 13.3329081
Zahl mit "," und 5 Dezimalstellen haben ...
egal was ich mache, ich bekomme immer den "."
Antwort:
Code: Alles auswählen
nLocXZahl := INT(CHINA06->Locx)
nLocYZahl := INT(CHINA06->Locy)
nLocXDec := CHINA06->Locx - INT(CHINA06->Locx)
nLocYDec := CHINA06->Locy - INT(CHINA06->Locy)
oLocation := ::oMap:ActiveMap:GetLocation((nLocXZahl+nLocXDec),;
(nLocYZahl+nLocYDec),;
10)