Ian,

I haven't done this in MapXtreme yet, but have in MapX so I think I know how
to do it.

When the user click the map, it will call another ASP page. Take the x,y
coords of the click point and convert to Lat/Long using Map.ConvertCoordV.
Take the lat/long and do a search at that point with Layer.SearchAtPoint.
This will select the point they clicked. You can also use
Layer.SearchWithinDistance to get nearby points. Once you have your features
collection, you pull out the fields you need with Layer.KeyField and
Feature.KeyValue and then throw them out as HTML.

This requires a page refresh. There might be a way to do this by placing the
point details into another frame without reloading the map frame, but I
haven;t tried to figure it out yet.

- Brad

> -----Original Message-----
> From: Ian Cazabat [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, June 13, 2000 6:37 AM
> To:   Mapinfo-L (E-mail)
> Subject:      MI MapXtreme NT Pulling Additional Information from Database
> & Displ aying
> 
> Okay, next problem. I've now got MapXtreme plotting my locations on a map.
> Right now, it's using stars to mark the position of these locations. Is
> there any way for a user to click on one of these points & display more
> information about that point?  Or, alternatively, is there anyway to
> change the stars to numbered point & then display additional info
> referencing the same number?  I'm using ASP pages to query an Oracle 7.345
> database via ODBC.  Also, how would I go about pulling the additional
> information.  Sorry for being so vague, I'm pretty new to both MapInfo &
> ASP.
> 
> Thanks,
> Ian Cazabat
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to