Hi
I experiment with GoogleMapsWebView. I can´t see the standard Zoombutton (+/-) on the screen. Change the zoom with 2 fingers is terribel. The map jumps extrem. So I want to add 2 Button für change Zoom. I added a function in Javascript and start the function from b4a. I can´t change the Zoom. Why.
In Html
function zoomchange(ZoomLevel){map.SetZoom(ZoomLevel);}
In Button_Click
Dim Javascript As String
ZoomLevel = ZoomLevel + 1
Javascript="zoomchange("&ZoomLevel&")"
'Javascript="zoomchange(11)"
MapViewerExtra.executeJavascript(MapViewer, Javascript)
Martin
I experiment with GoogleMapsWebView. I can´t see the standard Zoombutton (+/-) on the screen. Change the zoom with 2 fingers is terribel. The map jumps extrem. So I want to add 2 Button für change Zoom. I added a function in Javascript and start the function from b4a. I can´t change the Zoom. Why.
In Html
function zoomchange(ZoomLevel){map.SetZoom(ZoomLevel);}
In Button_Click
Dim Javascript As String
ZoomLevel = ZoomLevel + 1
Javascript="zoomchange("&ZoomLevel&")"
'Javascript="zoomchange(11)"
MapViewerExtra.executeJavascript(MapViewer, Javascript)
Martin