473,473 Members | 1,861 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

dynamic HotSpot

yo
I need to display some geographic related database records on an image
map object. So far all the examples I found show hard coded hotspot
coordinates. I would like to get some sameple code behind in C# to
show me how to do this. Another problem in hand is when the image map
is resized, how to redisplay these hotspots accordingly. By the way,
how dose the x and y values are calculated on a map? Thank you in
advance.
Feb 14 '08 #1
1 3168
there are two types of image maps in html. serverside and client side.

with server side, you just use an image button, and the x/y coord's are sent
with the postback. you then calc the hot spot in code.

with client side the image references an image map which defines "hot spots"
(rect, circle or poloygons coords) and a link for each hotspot.

in both cases you think of the image as a grid of pixels with 0,0 at the top
left. how you code determines the hot spots is up to you. there are tools
that will produce an image map from an image. you just open the image in the
tool and draw hot spots.

if you transform (scale/pan) the image, you just apply the same
transformation to the hot spot coords.

-- bruce (sqlwork.com)
"yo" wrote:
I need to display some geographic related database records on an image
map object. So far all the examples I found show hard coded hotspot
coordinates. I would like to get some sameple code behind in C# to
show me how to do this. Another problem in hand is when the image map
is resized, how to redisplay these hotspots accordingly. By the way,
how dose the x and y values are calculated on a map? Thank you in
advance.
Feb 14 '08 #2

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

Similar topics

2
by: FSJOSEPH | last post by:
To the Group: Hi all, I am using a java/pdf report engine namely Elixir Report Server. The report server uses JDK 1.4.1 with hotspot server JVM support. My application runs on AIX and the...
4
by: Naresh Agarwal | last post by:
Hi What are the different kinds of JVMs exist and in what respect do they differ. What is the difference between client, server, classic and hotspot jvms? thanks, Naresh
3
by: aurora | last post by:
I have a parser I need to optimize. It has some disk IO and a lot of looping over characters. I used the hotspot profiler to gain insight on optimization options. The methods show up on on the...
2
by: Cindy | last post by:
hi, Can someone tell me what is a hotspot button? Is it done using javascript? Thanks. Regards, Cindy
6
by: cournape | last post by:
Hi there, I have some scientific application written in python. There is a good deal of list processing, but also some "simple" computation such as basic linear algebra involved. I would like to...
1
by: John J. Hughes II | last post by:
Using the Visual C#.Net editor I have created a cursor.cur file as a resource. I would like to be able to set the hotspot. The problem is the "Set Hotspot Tool" is deselected. Anyone have a clue...
2
by: Perspolis | last post by:
Hi all I want to have hotSpot on my image. I put some lables on it and when I click image I can know where I select. it works but if my image zoom in/out I lose positions of lables.. what's your...
1
by: Lespaul36 | last post by:
I have a couple of custom cursors that I loaded as embeded resource and then create a customcursor array. Is there a way to change the hotspot on the cursors. I need one of them to be closer to...
0
by: bearophileHUGS | last post by:
It seems C# 4.0 may become a bit closer to dynamic languages, especially closer to the Boo language (that is mostly static): http://blogs.msdn.com/charlie/archive/2008/01/25/future-focus.aspx As...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
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...
0
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...
0
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,...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.