Hope you'll help me to cope with this problem. I work with MapX 4.5 in PowerBuilder 8. 
I want my program to highlight nodes in polylines, which are the closest to mouse 
pointer. So that I could while drawing a new polyline snap it's node to existing one 
and show to a user - to what point it's snapped to.

Problem #1
I get mouse coordinates into ocx_x, ocx_y.
Map1.Object.ConvertCoord (ocx_x, ocx_y, X1, Y1, miScreenToMap)
As far as I see into X1,Y1 should be set into Map Coordinates. Ups... Why zeros???? 
This function with parameter mimaptoscreen works the same. Is it a bug or my hands?

Problem #2
Has anybody already worked with such a problem - highlighting nodes. My realization 
works so slow - could anyone propose a decision. 

Thanks a lot
I'll be your obligator if you help me 


Best Regards,
Katerinka

---------------------------------
Do you Yahoo!?
Free Pop-Up Blocker - Get it now

Reply via email to