Typing text in an input over the map

I've tried to put a basic text box in a div that I popup over the map. However, when I try to type into the text box, no text is entered. Instead, if I hit certain keys (like a, r, or b) it changes the map view. How do I turn off the hotkeys while in the text box and instead get my text into the textbox

Answer this question

Typing text in an input over the map

  • Baris ERGUN

    The pushpin's have an id with a standard prefix followed by "_" and then the numeric theater ID. So, when I mouseover a theater or a movie that's playing at a theater, it's easy to look up the pushpin div in the DOM and change it's style.

    I'm not currently using GeoRSS. I haven't had enough time to look at that to see if it's any use to me.


  • OscarKwok

    well, then something is definitely wrong with your code,

    i have multiple pages with inputboxes, and they dont trigger a mapstyle-change if i enter the magic letters.

    Show the code, or even better, give the url to the mashup, so we can check it out.



  • Philip Jaques

    I ended up taking a different approach. I have completely custom pushpins, that I kind of had to mess with the DOM to get them to work. I was trying to put my textbox within this custom pushpin, and it looked like it was going to be more trouble than it was worth. You can see the custom pushpins at http://losangeles.showtimemaps.com/
  • *Rick*

    Thats cool man, how did you get it to highlight a particular pushpin on mouseover of the menu

    Also, are you using GeoRSS

    Nice work.



  • Typing text in an input over the map