473,387 Members | 1,504 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Re: Need some graphical advice

On May 1, 10:01*am, MrNobody <MrNob...@discussions.microsoft.com>
wrote:
I need to make a user interface which features an interactive map, where all
the states are drawn and the user may click on individual states to get
details on it, and they may color in states different colors and make regions
or groups of similar colored states.
Hi,

Doing that manually is very hard work, especially if you have no
experience doing it.
Take a look at either google maps or MS virtual earth. you would need
internet connection to run the application though.

Jun 27 '08 #1
1 1182
"MrNobody" <Mr******@discussions.microsoft.comwrote:
Are you familiar with the PaintBucket tool in Microsoft's Paint
application? Basically I would need the same exact algorithm for when
I need to fill states in with color... when the user clicks a spot
within the state's boundary (mapped from the bitmap file) it's just as
if someone using Paint used the PaintBucket on a solid colored shape.
Use a flood fill algorithm. Keep a list of "points that need to be
coloured", and each time add all the uncoloured points immediately
surrounding points already in the list. Stop at the state boundaries.

Eq.
Jun 27 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: cm012b5105 | last post by:
Hello i want to put an interactive text programme in to a graphical box this is a small section of my text programme s = raw_input ("Hello whats your name? ") if s=='melvyn': print "your my...
1
by: John F. | last post by:
I want to write a client app in Python using wxWindows that connects to my FreeBSD server via SSH (using my machine account credentials) and runs a python or shell script when requested (by...
10
by: William Gill | last post by:
Being somewhat new to Python, and having a tendency to over complicate things in my class design, I was wondering if anyone can suggest a simple graphical or flowcharting tool that they use to...
0
by: simsimlhr | last post by:
What i want to do is given below. I have put whole form in region class. Now i want to exclude some independent points from that region I will probably use region.Exclude(graphicalpath) ,will...
0
by: Eric Wise | last post by:
Hi all, I'm a Desktop / COM programmer who has evolved into an ASP .NET developer. The code is sound, I'm very satisfied with what I've learned but I must say my lack of HTML / Graphical...
4
by: Web_PDE_Eric | last post by:
I don't know where to go, or what to buy, so plz re-direct me if I'm in the wrong place. I want to do high performance integration of partial differential eqns in n dimensions (n=0,1,2,3..etc) I...
2
by: Vicissitude24 | last post by:
Our instructor had given us a task to create a four-in-a-row game in C+ +(DEV). I was able to create a 2player human-human game. but unfortunately our instructor added new details. to add an AI...
5
by: Brian Blais | last post by:
Hello, I was wondering what the approximate minimum age to learn python is. Has anyone had experience teaching middle school students, or elementary school students Python? What brought this up...
2
by: Ramon F Herrera | last post by:
Hello: My application has three fundamental aspects: (1) It is heavily GUI oriented with palettes, and visual "communication" between the app and the user by graphical means, much like an IDE...
0
by: Peter Duniho | last post by:
On Thu, 01 May 2008 07:01:00 -0700, MrNobody <MrNobody@discussions.microsoft.comwrote: It would help if you could be more specific about how you're currently mapping mouse coordinates to...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.