none
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

Answers

  • 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 https://social.msdn.microsoft.com/Forums/en-US/1a7168b3-754c-4525-b5a7-073f78272aa3/v8-key-events?forum=bingmapsajax

    [Blog] [twitter] [LinkedIn]


    Saturday, January 7, 2017 12:31 PM