[thelist] Building a Clickable World Map in .NET

Jason Lustig jasonlustig at adelphia.net
Mon Jul 19 21:03:10 CDT 2004


>>>I need to build a world map in .NET.  The onClick event of an
>>>ImageButton object supplies the X and the Y.  The image map I was given
>>>to work on is all in polygrams so just knowing the X and the Y doesn't
>>>do necessarily accomplish anything unless X and Y match a point exactly
>>>on the polygram.  Databasing each pixel on the map and its
>>>corresponding
>>>country isn't exactly a streamlined process.

I don't know exactly what you need to do with this, but my first 
instinct would be to use a GIS like MapInfo to make the world map itself 
and then use something like GD to draw on anything you need on it, once 
you take the geographical coordinates and convert it to where you want 
it to be in pixels then it shouldn't be so hard.

Jason


More information about the thelist mailing list