Hot spot in a map

Hello,
I have a map of different territories which i have drawn on a Jpanel using the drawPolygon. I am trying to display a text on the map when the user does a mouse over on each territory.
Currently i achieve this by keeping track of the mouseMoved event of the panel and then do a calculation to check if point is within the boundaries and then display the appropriate text.
I find this to be processor intensive and to take too long for instantaneous display.
Can anyone suggest a workaround ? Is there anyway to define a HotSpot for each of these territories so that they trigger a different event?

just purchase a wrt350n
♥ Registered TradeMark Since 1987 ♥

Similar Messages

  • Hot Spot over Image Map

    RoboHelp 8
    I have a diagram with numerous image maps. How do I highlight which image map I am hovering over? Is it in te
    Jac

    Not sure about a "highlight" - I use a roll over tool tip with a brief description - I use 130 hot spots with roll over tips on one diagram alone (hot spots link to entries in a table).
    Regards,
    GEWB

  • Image Map Hot Spot

    I am using DW8 I have an image map. If I use the square/rect
    tool or the
    circle tool I can get a hot spot to show. If I try to draw a
    polygon shape,
    I do not get the green overlay that works with the other
    tools.
    What am I doing wrong or is this a bug?
    Kim

    Yes. Every time, on every image (placeholder).
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "KimMazz" <[email protected]> wrote in message
    news:[email protected]...
    > Hmm, so you're saying that you can see the overlay when
    you draw a poly
    > shape?
    >
    > Kim
    >
    > "Murray *ACE*" <[email protected]>
    wrote in message
    > news:[email protected]...
    >> To be honest, I'm not sure. I have submitted it as a
    bug in the past,
    >> but without steps to make it reproduce every time,
    it's hard to have
    >> someone fix it.
    >>
    >> --
    >> Murray --- ICQ 71997575
    >> Adobe Community Expert
    >> (If you *MUST* email me, don't LAUGH when you do
    so!)
    >> ==================
    >>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >> ==================
    >>
    >>
    >> "KimMazz" <[email protected]> wrote in
    message
    >> news:[email protected]...
    >>> Murray,
    >>>
    >>> Which would mean that it's my PC bug? How can it
    be fixed then?
    >>>
    >>> Kim
    >>> "Murray *ACE*"
    <[email protected]> wrote in message
    >>> news:[email protected]...
    >>>>I can't reproduce it with the page you sent
    me, Kim.
    >>>>
    >>>> --
    >>>> Murray --- ICQ 71997575
    >>>> Adobe Community Expert
    >>>> (If you *MUST* email me, don't LAUGH when
    you do so!)
    >>>> ==================
    >>>>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>>>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>>>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>>>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >>>> ==================
    >>>>
    >>>>
    >>>> "KimMazz" <[email protected]>
    wrote in message
    >>>> news:[email protected]...
    >>>>>I found that if I go to the map in code
    view and delete all the code
    >>>>>except for the coordinates then it shows
    the overlay. I will send you
    >>>>>the file.
    >>>>>
    >>>>> Kim
    >>>>>
    >>>>> "Murray *ACE*"
    <[email protected]> wrote in message
    >>>>>
    news:[email protected]...
    >>>>>> Kim:
    >>>>>>
    >>>>>> I have seen this happen. I have no
    idea why. Can you send me the
    >>>>>> page?
    >>>>>>
    >>>>>> --
    >>>>>> Murray --- ICQ 71997575
    >>>>>> Adobe Community Expert
    >>>>>> (If you *MUST* email me, don't LAUGH
    when you do so!)
    >>>>>> ==================
    >>>>>>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>>>>>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>>>>>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>>>>>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >>>>>> ==================
    >>>>>>
    >>>>>>
    >>>>>> "KimMazz"
    <[email protected]> wrote in message
    >>>>>>
    news:[email protected]...
    >>>>>>> Ok Murray,
    >>>>>>>
    >>>>>>> Of further interest. When I open
    a different page in a different
    >>>>>>> site, that "already" has an
    image map I can draw a polygon. If I
    >>>>>>> open a page that "does not"
    already have an image map I can not draw
    >>>>>>> a polygon.
    >>>>>>>
    >>>>>>> Kim
    >>>>>>>
    >>>>>>> "Murray *ACE*"
    <[email protected]> wrote in message
    >>>>>>>
    news:[email protected]...
    >>>>>>>> Hmmm - You are on Mac?
    >>>>>>>>
    >>>>>>>> --
    >>>>>>>> Murray --- ICQ 71997575
    >>>>>>>> Adobe Community Expert
    >>>>>>>> (If you *MUST* email me,
    don't LAUGH when you do so!)
    >>>>>>>> ==================
    >>>>>>>>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>>>>>>>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>>>>>>>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>>>>>>>
    http://www.macromedia.com/support/search/
    - Macromedia (MM)
    >>>>>>>> Technotes
    >>>>>>>> ==================
    >>>>>>>>
    >>>>>>>>
    >>>>>>>> "KimMazz"
    <[email protected]> wrote in message
    >>>>>>>>
    news:[email protected]...
    >>>>>>>>> actually clickity click
    no, only kidding. Yes I am doing click,
    >>>>>>>>> click click to draw the
    polygon. I tried click drag click drag and
    >>>>>>>>> it didn't work that way
    either.
    >>>>>>>>>
    >>>>>>>>> the coordinates are
    getting recorded, it's just not showing me the
    >>>>>>>>> overlay. So, I can't
    select it and/or set the behavior.
    >>>>>>>>>
    >>>>>>>>> Kim
    >>>>>>>>>
    >>>>>>>>> "Murray *ACE*"
    <[email protected]> wrote in message
    >>>>>>>>>
    news:[email protected]...
    >>>>>>>>>> How are you drawing
    the hotspot? Are you doing
    >>>>>>>>>>
    click:click:click:click to mark the apices of the polygon?
    >>>>>>>>>>
    >>>>>>>>>> --
    >>>>>>>>>> Murray --- ICQ
    71997575
    >>>>>>>>>> Adobe Community
    Expert
    >>>>>>>>>> (If you *MUST* email
    me, don't LAUGH when you do so!)
    >>>>>>>>>> ==================
    >>>>>>>>>>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>>>>>>>>>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>>>>>>>>>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>>>>>>>>>
    http://www.macromedia.com/support/search/
    - Macromedia (MM)
    >>>>>>>>>> Technotes
    >>>>>>>>>> ==================
    >>>>>>>>>>
    >>>>>>>>>>
    >>>>>>>>>> "KimMazz"
    <[email protected]> wrote in message
    >>>>>>>>>>
    news:[email protected]...
    >>>>>>>>>>>I am using DW8 I
    have an image map. If I use the square/rect tool
    >>>>>>>>>>>or the circle
    tool I can get a hot spot to show. If I try to draw
    >>>>>>>>>>>a polygon shape,
    I do not get the green overlay that works with
    >>>>>>>>>>>the other tools.
    >>>>>>>>>>>
    >>>>>>>>>>> What am I doing
    wrong or is this a bug?
    >>>>>>>>>>>
    >>>>>>>>>>> Kim
    >>>>>>>>>>>
    >>>>>>>>>>>
    >>>>>>>>>>
    >>>>>>>>>>
    >>>>>>>>>
    >>>>>>>>>
    >>>>>>>>
    >>>>>>>>
    >>>>>>>
    >>>>>>>
    >>>>>>
    >>>>>>
    >>>>>
    >>>>>
    >>>>
    >>>>
    >>>
    >>>
    >>
    >>
    >
    >

  • How do I use hot spots in the most advanced style?

    My first attempt at Dreamweaver web design.http://www.deer-harbor-stewardship-project.org  . I will be resampling my images and doing a ton of other appropriate modifications but here are some initial questions. How do I use this "plug in" http://mattstow.com/experiment/responsive-image-maps/rwd-image-maps.html#blossom feature for my fluid grid responsive image map. How can I make my hot spots turn up little boxes with a photo, an illustration, or informatory text? How do I get ride of the spaces between divs? Sorry if I have asked too many questions. I better read the forum user rules if you have them. thanks for reading this. endurobob

    Murray *ACP* wrote:
    Anyhow, it makes no sense to put image tags within container tags meant to convey semantic meaning to their contents since an image has no semantic meaning.  So try changing this -
    <div id="header">
          <h1><img src="_images/title_scan.jpg" alt="newtitle"></h1>
    to this -
    <div id="header">
          <img src="_images/title_scan.jpg" alt="newtitle">
    I completely agree with this. However, if having an image as a heading was important (if you styled it in a way you can not with CSS) you could always code the image into the heading through CSS.
    Something like:
    <h1 class="heading">This is a heading</h1>
    h1.heading {
    margin:0;
    width:??;
    height:??;
    background: #000 url(ImageURLHere) no-repeat;
    text-indent:-9999px; /* This will move the text of the heading off-screen */
    The 0 margin on the style should clear up the gap as well.

  • Using Roll Over Images for Hots Spots in DW CS 5

    Ok  I had this sort of working .. but
    what i am trying to do is have pictures pop up when the mouse rollovers a hot spot.   I do this with two layers and using the behavior window
    The full project is at http://www.kasdivi.com/pages/map.html...  ( thought that might be better then posting code)   The issue is in the left hand top of the map wjere you see malmok  (Col H Row 2)or Boka Bartol (also Col H Row )
    you have to move down the page before the image will show  
    I though there might be something in that area mapping as if you leave map in topmost position and mouse over Boka Onima (Column M row 5) the image pops up fine
    I tried to restart with a simpler test www.kasdivi.com/testmap.html
    the supposedly live hot spots are at Malmok (H2 ) and Boka Onima (M5)  but it this test nothing works
    I think I am doing something baically wrong
    any guidance will be appreciated
    Jasom

    You have some code errors that could be causing issues.
    Things like missing quote marks around the alt attribute on line 91, your links near that line are also malformed to both your images and webpages.
    Run your page through the validator here and repair your errors:
    http://validator.w3.org/
    If it's still not funtioning correctly after you have taken care of the problems, post back and we can take a closer look...

  • How do I set a PNG cursor hot spot?

    I am trying to set the hot spot for a PNG cursor in a CS6 plugin (Windows) I have searched for a solution but I can't find one. So far I am able to set the cursor using sAIUser->SetCursor() but I don't know how to set its hot spot. Can anyone provide an example of how to set the hot spot of a PNG cursor?

    The SDK does this in the AnnotatorTool sample. It's an xml file that describes the hotspot.
    <?xml version='1.0'?>
    <prop.map version='1'>
    <prop.list>
    <prop.pair>
    <key>DVA_CursorData</key>
    <string>1.0</string>
    </prop.pair>
    <prop.pair>
    <key>kHotSpot</key>
    <array>
    <array.type><int type='signed' size='32'/></array.type>
    <int type='signed' size='32'>13</int>
    <int type='signed' size='32'>12</int>
    </array>
    </prop.pair>
    </prop.list>
    </prop.map>
    In the end, we gave up and just used platform code like Andrew did.

  • Hot Spots Help

    Hello,
    I have a problem that seems like its just one small detail
    that I am missing but I cannot figure it out for the life of me.
    I have made a local version of the page I am editing. I added
    hot spots with links to word documents that are on our sites FTP
    server, and the address are correct. When I hit preview in firefox
    everything works flawless. Then I click put, and go to check it on
    the live site, and now it doesn't work. I can't even detect the hot
    spot that I created while on the live site.
    Thanks in advance.
    - Kevin

    > but I am picking most of it up fast
    Put it down, quickly, before you hurt yourself (as we can see
    you are about
    to do from your linked page - 81K for a jpg image of an
    ordinary list?).
    You only have a single image map on the page, and it
    corresponds to the
    image map for the links in the masthead.
    Go here -
    http://www.w3schools.com - and
    get some HTML and CSS under your
    belt. Then you can come back to DW. It will expect you to
    bring that
    knowledge to the table.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "D-Maranatha!" <[email protected]> wrote in
    message
    news:g0v606$q1v$[email protected]..
    > Yea it is within an image. I'm fairly new to websites
    and dreamweaver in
    > general, but I am picking most of it up fast. This is
    just the way I was
    > told
    > was easiest to handle it.
    >
    > Its a jpeg of a list of text.
    >
    > Some of the different lines in the list we want to be
    able to click
    > through to
    > the different word documents associated with them.
    >
    > I dont want anyone to go out of their way, but the site
    is
    > www.MaranathaMusic.com just so you have an idea as to
    what I mean if i
    > didnt
    > do the best job explaining it.
    >
    > Im referring to the box on the bottom left. I would like
    some of those
    > subjects to click through using Hotspots.
    >

  • Hot spots not working

    My student has created an image in FW and has it in his page in DW.  He is trying to draw hot spots on the individual spots but can not.  I see the hot spots in the property box but it will not allow him to draw a rectangle around the area.  The area will only show blue when you select the chosen drawing tool and go to the image.  Here is a screen shot.  I would love some direction to help my student be able to create a hot spots.  He works on a Mac and has the latest update to CC.

    Hello levanouski,
    my way is (all comands translated from my German DW):
    1. Insert an image
    2. Click into the image
    3. Menu for the hotspot tools opens, see screenshot:
    4. Click into the image > Give an "alt" name or description for your image, if you want.
    5. Use the wished figure/form.
    6. And in your code you will see something like:
    <p><img src="../images/yourGrafik.jpg" alt="" width="300" height="225" usemap="#Map"/>
      <map name="Map">
        <area shape="poly" coords="125,123,115,86,151,34,209,76,237,135,219,179,153,185,91,176,5 6,140" href="#" alt="It's a test!">
    </map>
    </p>
    But now let's talk about this (I quote from a earlier thread of Sudarshan Thiagarajan): "I must let you know that image maps are outdated and there are far more easier/ higher quality ways of achieving what you're after. Check out jQuery Vector Maps - Resizable Scalable Vector Graphic (SVG) Maps for Modern Browsers - pure vector maps that work on most modern browsers that come pre-defined with most countries. USA is out of the box usage. Another similar tool is http://jvectormap.com/."
    ... or for example mapper.js (automatic area highlighting for image maps)
    Good luck!
    Hans-Günter

  • Why does firefox not display photos with Hot spot slices in them

    I took a photo and brought it into Fireworks and created a graphic map with hot spots to certain countries. While this looks great on Internet Explorer its not showing properly in firefox at all. http://www.aist.org/chapters/chaptermap.htm
    Heres the example .

    That website is an MS Office document that has VML content for the images.<br />
    You can see that as green comment code in the page source (View > Page Source)<br />
    Only IE can display such a document properly.
    You need to save that page as W3C compliant HTML code and make sure that you disable VML to make it work in all browsers.
    Looks that something is wrong with the image count for images used when VML is not enabled.
    The image image003.jpg (http://www.karalee.com.au/index_files/image003<i></i>.jpg) should be:
    *http://www.karalee.com.au/index_files/image002.jpg
    The image image005.jpg (http://www.karalee.com.au/index_files/image005<i></i>.jpg) should be:
    *http://www.karalee.com.au/index_files/image004.jpg
    <pre><nowiki>javascript:void(document.images[0].src='http://www.karalee.com.au/index_files/image002.jpg');void(document.images[1].src='http://www.karalee.com.au/index_files/image004.jpg');void(0);</nowiki></pre>

  • Roll over effect with hot spots

    Hello,
    I have created a state map with city locations. If you roll
    your mouse over a specific city, the entire map/graphic should
    change over to the graphic with the specified city location address
    information. At first I thought to create buttons, but that won't
    work because I need the state map to have hot spots for each city.
    Any suggestions?
    Thanks,
    MonaE

    I'm not sure what you mean regarding "it" will change to the
    image, but I am not talking about a single button. I mean have a
    button over each city to act as the hotspot. Interacting with a
    given button will trigger whatever as far as showing the office
    location image goes.
    Depending how you go about it, you could make the "over"
    state of the button be the office location image, while the normal
    state and hit area are defined as just the name area on the
    California map.

  • IPad, iPhon, hot spot.

    I have an iPad WiFi, and use the hot spot from my iPhone to connect to the internet. This works very well. Can the iPad also share the GPS information from the iPhone, when using maps?

    Please update this thread with information on the longevity of this fix over the next few days. I have been having this issue since iOS 6 came out with both of my iPhones. Simply restarting the phone fixes the issue, but only temporarily. Every time I try to reconnect (not immediately, but if I wait several hours or the next day) I have to restart the phone again. It always appears to be working. The phone lights up the blue bar telling me that there is a connection, but the ipad never gets an ip from my phone. I have subsequently tried the suggestion here, resetting everything, etc., but no change. After the restart, everything works. The next day, I have to restart again. This happens on both my and my wife's iPhone, both were updated OTA to iOS 6, so it is unlikely they both got a corrupted iOS 6 update. The connection issue is also not only on my iPads, as my MacBook Air also will not connect, until after the restart. If your solution continues to work, then I guess I'll be heading to Apple, but I don't want to do that, as the closest store to me is almost 2 hours away. I upgraded to AT&amp;T 10GB data share so we could use our 2 iPads, the Air, an iPod touch, and my kids' 3 ipad minis while on the road, but since the ios6 update, this is no longer possible for me.
    Sorry to hijack your thread, but after hours of googling, you are the only person I've found with the exact same problem.

  • How can I use my iPhone'hot spot to send email from my computer ?

    Hi,
    My land line is dead ... so no phone nor internet at home.  But I can use my iPhone'hot spot to get on the web from my iMac.  Great ... it works ! 
    Oups !   I cannot send email from my computer using my iPhone's hot spot with Mail.
    How do I do that ?
    Regards.
    Robert Lespérance

    Hi iCare,
    Thanks for helping ...   All that configuration is already done.  I am able to surf the web from my computer using my iPhone's hotspot.
    When I want to send an email from my computer, I get a message asking me to select the the SMTP server.  Then I select my usual ISP server, but the message comes back telling me it does not work.
    Is there any other configuration to do ?

  • How do I use my iPhone's hot spot to send email with Mail ?

    Hi,
    My land line is dead ... so no phone nor internet at home.  But I can use my iPhone'hot spot to get on the web from my iMac.  Great ... it works !
    Oups !   I cannot send email from my computer using my iPhone's hot spot with Mail.
    How do I do that ?
    Regards.
    Robert Lespérance

    Hi Templeton Peck,
    Thanks for droping in my thread ...
    Doesn't the fact that I can surf the web with my iPhone's hot spot and that I cannot use Mail normally has I normally do give you a clue what the problem could be ?
    What other information can I give you other than normally I can surf and send email with my regular ISP.  Now that my ISP is dead I am using my iPhone's hotspot to surf the web awaiting that my ISP's connoection returns. Surfing is OK but I cannot send emails with through Mail.
    When I want to send an email from my computer, I get a message asking me to select the the SMTP server.  Then I select my usual ISP server, but the message comes back telling me it does not work.
    Is there any other configuration to do ?

  • HT1688 My Hot Spot does not work after update to 6.0.1.  Service is with ATT.  Apple says problem is with ATT, ATT says problem is with Apple.  Anyone else having this problem?

    My Hot Spot does not work after update to 6.0.1.  Any suggestions?

    Ok, I had the same issue, my phone is unlocked(iphone 5 with 6.1.3). So I went to the apple store and had it replaced. it worked good for a day and started doing the same thing. When the apple tech replaced my phone, he transfered my screen protector to the new one.
    so I thought it was my sim card, I put in my sisters sim card from a different carrier and it did the same, so then I was like let me take off the screen protector, and that was it.
    so guys, if you have a screen protector on your phone and it's doing "low signal", "No Service", "Searching", "Full bars cycle" then take off the screen protector. so far my phone is working normal.

  • I have been a loyal customer for years and have a hot spot because internet options are very limited in our rural area.  I have stayed with 10G since the beginning.  Most months I don't use the 10G.  Verizon has no problem with me paying for Data I don't

    I have been a loyal customer for years and have a hot spot because internet options are very limited in our rural area.  I have stayed with 10G since the beginning.  Most months I don't use the 10G.  Verizon has no problem with me paying for Data I don't use.  This month my daughter comes home from College and she accidentally uses 24G.....14 over get blind sided with $140.00 in overages.  I called Verizon today......stopped in to the store today......My neighbor told me they waved charges for her one time.  Lots of charges.....But I'm am getting no help.  Not even an offer of a payment plan to help me out.  I went back just 6 months and I have over paid for 19G.....Seems like they would like to help out their loyal customers!!!!     Does anybody have any suggestions on how to deal with them?   We are not wealthy....or I would just pay this and walk away......

    There is a big misconception in what customers believe a cell carrier is obligated to do.
    You pay a set price to use up to that amount of xx data. It makes no difference if you use it to the paid limit or way under. Its like peace of mind when you don't have to worry about a data counter.
    Your daughter used the data, your plan is quite clear of what overage charges are. Why should or would Verizon wireless just forgive the charges because you are a customer? Your daughter used the data, get the money from her. That is the responsible thing to do.
    There is no "I have been a loyal customer so please remove the $120, or $250, or $2,000.00 since I did not mean to use it"
    Your electric company, or gas company or any other company does not remove valid charges. Why should Verizon wireless?
    Just pay the invoice and don't think you are being mistreated because Verizon is a business and not a charity.
    Good Luck

Maybe you are looking for

  • OWSM 10.1.3.4 and Non-SOAP XML-based web service

    Hi all, According to the OWSM 10.1.3.4 Administrator's Guide, "all Web services registered with an Oracle WSM Gateway are virtualized as both a SOAP and non-SOAP Web service." To access the non-SOAP (XML-only) web service, the documentation states "T

  • SQL Developer 1.0.0 on x86-64 (Suse Linux 10.1)

    Has anyone tried running SQL Developer on a x86-64 machine ? I am use Suse Linux 10.1 and get the following error when I try to start SQL Developer - Exception in thread "main" java.lang.NoClassDefFoundError: java/lang/StringBuilder at oracle.ide.per

  • User-exit on FBL5 customer line item display

    Hello. A customer has a payment term of 5% 10 days, 2% 15 days, net 30 days. SAP provides RFPOS-ZALDT as the 1st cash discount date (invoice date + 10 days). However, there is no field that would show the 2nd cash discount date (invoice date + 15 day

  • Getting Time Machine to work with NAS Drives

    Connect the drive and format it HFS+ for this example I will name it backup Set it up as the Time Machine drive once formatted. Go into system preferences and turn off Time Machine. Go into FrontView and create a share, for this example I will name i

  • Focus on JTextfield in JDialog box

    A JDialog box is being opened from a menu. There is only one JTextfield on the dialog box and 2 buttons. The focus is not on any of the components in the dialog box and I want it on the textfield by default. I have tried all the requestFocus(),reques