Hi,
I have a problem with QueryShape (in C#). What I do is that I add some shapes to a new map. Those shapes are use to detect whether or not a vehicle is entering a zone (using GPS coordinates). When I receive a coord from the vehicle, I add a pushpin and call QueryShape on the "My Pushpins" dataset with each shapes. When there is a pushpin inside a shape, the recordset is empty.
It looks like it is because the shapes are added BEFORE the pushpin. When I add a pushpin and THEN I add the shapes, it works. But I don't want to erase and re-add shapes every time I get a new vehicle position!!
Does anyone have any idea on that problem ?
Jean Bédard, Ing jr.
Kolombo Technologies
Québec, QC, Canada