javascript - OpenLayers 3 Rotation example behaves differently in IE/Chrome embedded WebBrowser control on Win32 touch device -


i trying implement rotation on open street map(osm) using openlayers 3(ol3) in wpf application using following example

http://openlayers.org/en/v3.5.0/examples/rotation.html

when open above html file using ie/chrome browser directly, map rotates absolutely fine when perform rotation on win32 touch device(windows 8 tablet), when open same html file in webbrowser control in wpf application rotation works when enable shift+alt on on-screen keyboard.

i using internet explorer 10 , have added below tag webbrowser control emulates ie 10.

<meta http-equiv="x-ua-compatible" content="ie=10,chrome=1">  

i not able understant why rotation functions differently normal browser , webbrowser control. missing something??

please help!!

finally!!! got breakthrough issue. difference in rotation behaviour legacy input model issue in ie web browser control.

the feature_ninput_legacymode feature control determines whether legacy input model enabled. default, feature disabled internet explorer , enabled applications hosting webbrowser control. disable feature using registry, add name of executable file following setting.

hkey_local_machine (or hkey_current_user)    software       microsoft          internet explorer             main                featurecontrol                   feature_ninput_legacymode                      contoso.exe = (dword) 00000000 

the feature enabled when value set (dword) 00000001 , disabled when value (dword) 00000000.

hence disabling dword value solved issue.


Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -