But as I've already said I work with MapX - not MapInfo. This functionality in MapInfo I know. I need it in MapX
Randa <[EMAIL PROTECTED]> wrote:Katrin, Is your quest for something over and above the 'snap' feature already within MapInfo? The existing feature seems to work well enough for my people. Regards Roy ----- Original Message ----- From: "Katrin" To: Sent: Thursday, November 27, 2003 1:02 AM Subject: MI-L Problems with ConvertCoord > 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 Best Regards, Katerinka --------------------------------- Do you Yahoo!? Free Pop-Up Blocker - Get it now
