Hello,
Scanning all the points in a map ( X and Y ) and using ObjectsFromPoint(X, Y) , some streets are not detected.
I zoom enough to see the streets , but some are lost while looping.
Is there a method to have more details about the street name in a map?
Thanks
Delphine
My code looks like this :
Code:
x, y are points in the screen
fr, obj , objmap are objects
For x = min_X to max_X
For y = min_Y to max_Y
fr = ObjMap>>ObjectsFromPoint(X, Y)
if fr <> nothing then
nbObjFr = fr>>count
NumObj=0
for NumObj = 1 to nbObjFr
obj = fr>>item(NumObj)
NomObjet = obj>>name
// Here I see if it's a street
next NumObj
end if // fr
next y
next x
[/code]