WebMapViewer on desktop app

Hello, I’d like to implement a map viewer on a desktop application

The “WebMapViewer” module is available on web app (with some functions and event particular to the gps coordinate, …

Is it possible to implement this module on a desktop app?
the only possibility I seen is to put an html viewer and loading the google.maps site

but no interaction between the app and the gps, …