Capture MouseDown+Shift Key event onBingMaps 8 RRS feed

  • Question

  • My javascript code is capturing the mousedown event but I want to capture the shift key event.  When I use something like:

      Microsoft.Maps.Events.addHandler(map, 'keypress', addPin)

    it does not work.

    Friday, January 6, 2017 10:00 PM


  • Bing maps control does not have a keypress event, however it isn't really needed as you can use the standard key events right on the map div. Here is a code sample

    [Blog] [twitter] [LinkedIn]

    Saturday, January 7, 2017 12:31 PM