Using the Trimble MAPS JavaScript API, the key down events for zooming (+/-) are affecting all the fields on the web page.
It there a way to unregister the map keypress event or focus it only on the map window and not the entire document?
Using the Trimble MAPS JavaScript API, the key down events for zooming (+/-) are affecting all the fields on the web page.
It there a way to unregister the map keypress event or focus it only on the map window and not the entire document?
Implementing the following JavaScript snippet into your code will prevent zooming in/out on "+"/"-" key press :
https://developer.trimblemaps.com/ has more details.