473,383 Members | 1,795 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,383 software developers and data experts.

Mapping objects in a room

Hello,

I am not sure if this is the right forum for this question or not. If not,
please ignore.
I am developing an application in C# that requires me to display a map of
the objects present in a room with proper locations [X, Y coordinates]. The
objects will be tiny images [either jpg or gif]. Is there a mapping software
component that will help me do this? I am new to C# and not familiar with
the graphics routines. Also, Internet search showed zillions of results for
GPS mapping, which is not useful.

Any help is appreciated, thanks.

Atul.

Oct 10 '07 #1
4 2131
Hi,

"Atul Thombre" <at******@gmail.comwrote in message
news:5n************@mid.individual.net...
Hello,

I am not sure if this is the right forum for this question or not. If not,
please ignore.
I am developing an application in C# that requires me to display a map of
the objects present in a room with proper locations [X, Y coordinates].
The objects will be tiny images [either jpg or gif]. Is there a mapping
software component that will help me do this? I am new to C# and not
familiar with the graphics routines. Also, Internet search showed zillions
of results for GPS mapping, which is not useful.
Not that I know of.
You better google a little more, with something more especific.
Oct 10 '07 #2
Autodesk has a mapping application built from AutoCAD which they have
released as open-source. Autodesk is also now supporting .NET in most of
their products like Revit (where the big money is headed). While Autodesk is
an evil vendor there is still something to be said for the APIs in their
products which support .NET.

// for example
news://autodesk.mapguide.developer
news://autodesk.revit.api
news://autodesk.autocad.customization.dotnet

"Atul Thombre" <at******@gmail.comwrote in message
news:5n************@mid.individual.net...
Hello,

I am not sure if this is the right forum for this question or not. If not,
please ignore.
I am developing an application in C# that requires me to display a map of
the objects present in a room with proper locations [X, Y coordinates].
The objects will be tiny images [either jpg or gif]. Is there a mapping
software component that will help me do this? I am new to C# and not
familiar with the graphics routines. Also, Internet search showed zillions
of results for GPS mapping, which is not useful.

Any help is appreciated, thanks.

Atul.

Oct 10 '07 #3
Hi Atul.

I guess you want to start with GDI+....I am sure you find good examples to
display items like bmp's, jpg's, lines, squares etc. on a form or print
them.

Mayby this link is usefull:

http://www.codeproject.com/books/1861004990.asp

I am taking the first steps meyself into C# so this is all the help I can
you.

Bart
Oct 10 '07 #4
This may not be the "best" way but here is "a" way to accomplish this.
I don't spend my days writing GDI+ drawing controls...

The link below is to a GDI+ control that draws hierarchies in a
couple of different formats. The jist is that you write some
set of methods that determines where you should draw the image
and store the x, y, height, and width of the image and where
it should be drawn on the class properties you create for them.
Keep a data class object in a collection for each item you wish
to draw.

Then, you run the collection of things to draw through a drawing
engine. Afterwards, if you retain the data that was used to draw the map,
you can iterate through the collection of data classes, check the
mouse x, y, height, and width boundries when the user clicks
the image.

If you need to move the item, you simply recreate the data collection
with new images and locations. Then, redraw the image.

http://www.eggheadcafe.com/articles/...h_gdi_plus.asp

--
Robbe Morris [Microsoft MVP - Visual C#]
..NET PropertyGrid Control - ListBox, ComboBox, and Custom Classes
http://www.eggheadcafe.com/tutorials...d-control.aspx


"Atul Thombre" <at******@gmail.comwrote in message
news:5n************@mid.individual.net...
Hello,

I am not sure if this is the right forum for this question or not. If not,
please ignore.
I am developing an application in C# that requires me to display a map of
the objects present in a room with proper locations [X, Y coordinates].
The objects will be tiny images [either jpg or gif]. Is there a mapping
software component that will help me do this? I am new to C# and not
familiar with the graphics routines. Also, Internet search showed zillions
of results for GPS mapping, which is not useful.

Any help is appreciated, thanks.

Atul.
Oct 10 '07 #5

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

Similar topics

9
by: Jerry Sievers | last post by:
Fellow Pythonists; I am totally puzzled on the use of slicing on mapping types and especially unsure on use of the Ellipsis... and slicing syntax that has two or more groups seperated by comma....
2
by: | last post by:
Hi! I post this text 1 year ago. But no one really could give me an answer. This is the text that I posted long time ago: I have a fundamental question about The way .NET handles the object...
1
by: Flare | last post by:
Hi. Im have asked for recommendation regarding the best production ready O/R mapping tools for .net. I got that. Since im an old, ok maybe not old (only 27), Java programmer patterns and...
7
by: Gu | last post by:
hi to all again! well, if i have the simplest object: a=new Object() it seems i can't assign properties to it.. b.c="something" as when i say:
2
by: Mel | last post by:
Is anyone out there using a C#.NET OR mapping framework in a production environment? I'm thinking of such frameworks as nHibernate, Gentle, etc.. I've looked at quite a few but none of them seem...
4
by: BentleyInc | last post by:
I'm trying to find a way to add a whildcard application mapping to aspnet_isapi.dll in IIS programmatically.... been looking into IIS administrator reference but didn't find the right function to...
5
by: alan | last post by:
Hello world, I'm wondering if it's possible to implement some sort of class/object that can perform mapping from class types to strings? I will know the class type at compile time, like so:...
6
by: Poke386 | last post by:
I'm in the process of making an text based-rpg in C++. Its just a little project so I can learn some object-oriented programming, nothing serious. My problem is that I've created a class like so: ...
2
by: David Thielen | last post by:
Hi; I have a small XML file that I need to read/change from my app. Is there some easy way to map from XML to my objects so I can just read it in to my objects, change the objects as needed,...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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: 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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.