473,804 Members | 3,649 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Control to draw maps on images?

Hi!

I need an ASP.net control, which makes it possible for the user to define
imagemaps.

I show an image, the user can define areas (polygons would be nice, but just
rectangles is ok), and I can access these areas, save them and use them to
generate imagemaps.

It is to be used with maps, where the client can add information to areas of
the map, which is then displayed when the user clicks the area.

Does such a control exist, or has anyone done anything similar?
Thanks in advance.

- Klaus
Nov 19 '05 #1
2 2352
Are you talking about this?

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

Or, are you talking about a client side solution
that you keep track of the mouse movements to
draw the outline of your map?

I was tinkering with some JavaScript to capture
handwritten signatures with a mouse and convert
the mouse movements to VML awhile back.

It is just play code, nothing serious.

http://www.eggheadcafe.com/javascriptdrawing.asp

The source code to the asp page can be
found here:

http://www.eggheadcafe.com/javascriptdrawing.zip

--
Robbe Morris - 2004/2005 Microsoft MVP C#
http://www.masterado.net

"Klaus Jensen" <sp******@suck. my.xxxx.com> wrote in message
news:%2******** ********@TK2MSF TNGP14.phx.gbl. ..
Hi!

I need an ASP.net control, which makes it possible for the user to define
imagemaps.

I show an image, the user can define areas (polygons would be nice, but
just rectangles is ok), and I can access these areas, save them and use
them to generate imagemaps.

It is to be used with maps, where the client can add information to areas
of the map, which is then displayed when the user clicks the area.

Does such a control exist, or has anyone done anything similar?
Thanks in advance.

- Klaus

Nov 19 '05 #2
Would you consider using an ActiveX control inside the ASP.Net project - with
the ActiveX embedded in the Client side HTML to run on the client. If yes
then I have an easy solution for you.

Our MetaDraw control can be placed in an HTML page where the user is allowed
to draw - optionally on top of other images such as an image of a map.
MetaDraw even has built in support for creating ClientSide image maps from
the drawn polygon shapes - exactly what you describe. You can allow user to
assign URL's to each polygon and even assign a Tooltip for each polygon.
The resulting image map can be captured as a string you can send back to the
server in a simple Post.

An example showing drawing with MetaDraw in a web page can be seen at
http://www.btis.com/btproducts/MetaD...g/md3_demo.htm

This doesn't show drawing on a background image or creating of image maps
but I think you'll get the idea about how easy MetaDraw is to use ( for
programmer or end-user ). Feel free to ViewSource on the web page to see
how it's done.

Note that creation of ImageMaps requires the Subscription license add-on in
addition to base license support.

I'd be happy to discuss with you further
* * Please include a copy of this message with your reply

Jeff Bennett
Je**@Bennet-Tec.Com

* Bennet-Tec Information Systems, Inc
* 50 Jericho Tpk, Jericho, NY 11753
* Phone 516 997 5596, Fax - 5597
* RELIABLE Components Make You Look Sharp!
* TList/Pro * ALLText HT/Pro * MetaDraw *
* Custom Software Development Services Too.
* WWW.Bennet-Tec.Com

=============== ==== =============== ====

"Klaus Jensen" wrote:
Hi!

I need an ASP.net control, which makes it possible for the user to define
imagemaps.

I show an image, the user can define areas (polygons would be nice, but just
rectangles is ok), and I can access these areas, save them and use them to
generate imagemaps.

It is to be used with maps, where the client can add information to areas of
the map, which is then displayed when the user clicks the area.

Does such a control exist, or has anyone done anything similar?
Thanks in advance.

- Klaus

Nov 19 '05 #3

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

Similar topics

0
1946
by: Florida Draw | last post by:
------=_NextPart_000_0012_1D5428A2.65C196F8 Content-Type: text/plain Content-Transfer-Encoding: 8bit Sign-up for the FREE Holiday Giveaway Draw You must register to be eligible for the draw. Fill out this form to register and you may be eligible for our monthly draw.
4
6608
by: luc wastiaux | last post by:
Hello, my boss is looking for a tool that would enable her to draw web interfaces easily, like visio does for other types of diagrams. What she wants this for is , I assume, to give me an exact sketch of what she wants me to develop. thanks for any suggestions. -- luc wastiaux - dustpuppy@airpost.net
11
6205
by: Sagaert Johan | last post by:
I have made a custom control that draws a rectangle when the mouse is down, and does nothing when the mouse is up. I set/reset a flag in MouseDown/Mouse up and use this to do the drawing in the OnPaint . The recangle draws correct when i press the mouse, but when i release the mouse the background is not restored What should i do in the Onpaint to make sure the background (the form) is restored correctly ? This problem already keeps...
3
19463
by: Angapparaj K via .NET 247 | last post by:
Hi, Iam trying to create a custom tree view control in thich i needto display images for some of the nodes. The images need on theright side of the nodes. Is there any way to do this besideshandling the windows notification messages? even if possibleonly thro windows messages, can some one guide me to some csharp code implementing something similar. yours, K.Angapparaj -------------------------------- From: Angapparaj K
2
3104
by: bottarelli | last post by:
I am looking for a javascript solution to drag a series of images (along the horizontal axis only) within a fixed div to give the same drag effect of Google Maps. Here are the requirements: The div will be fixed, and its only display purpose is to give the preception of a "viewport" or window with its border. A variable number of images will be displayed inside the div. They will be aligned in a horizontal series, side by side, with some...
4
2879
by: Adam Clauss | last post by:
I have a completely user-drawn user control in which I enabled transparency (follownig suggestions at http://www.c-sharpcorner.com/UploadFile/Nildo%20Soares%20de%20Araujo/TransparentControls11152005074108AM/TransparentControls.aspx) The user control does not contain any other controls; I manually draw contents in the OnPaint override I created. My problem is that the control does not always draw itself properly. Sometimes NONE of the...
0
1000
by: vijaykumarairbee | last post by:
hi, i have panel control with network images pan,routers etc. when i scroll my panel control the images refresh rate is very slow.it means while i scroll the panel images go inside the panel after it comes out the images are redraw. any one give me a solution.please.. thank u.
5
2943
by: Nike1984 | last post by:
I'm fairly new to Javascript and it's more of a guessing game for me... I'm trying to build an app for Google Maps and just had some issues recently. First off I just wanted to say that everything works fine in FF and IE. It's Chrome I'm having issues with. I understand that Chrome is still somewhat in beta stages, so some bugs might occur. However this seems like something I might have done. So... I used a code that I found on Econym as...
13
5363
by: seegoon | last post by:
Hi all. So: I've put together a page, in which I want several clickable image maps. I've put those together already. The problem with image maps is that they're not very intuitive, so users don't really expect the image to be clickable and accordingly won't even try to. The solution is to have the image highlight whenever the mouse travels over the mapped-out area; I understand that this is quite easy. Some Googling has provided a few...
0
9569
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10558
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10302
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10069
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9130
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7608
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5503
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5636
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4277
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.