We are using JavaFX' WebView to embed a webpage where we want to display map content using google map's javascript API and ng-map.
NgMap.getMap().then(function (map) {
map.setOptions({
maxZoom: 17,
streetViewControl: true,
// liteMode: true, // that would be cool :-)
streetViewControlOptions: {
position: google.maps.ControlPosition.TOP_RIGHT },
keyboardShortcuts: false,
//... ommited for brevity
});
});
As WebView is not supporting WebGL we need to find a way to enable lite mode (as it is possible when using the android API). Does anyone know a way to achieve this?