R RichardN Well-Known Member Licensed User Longtime User May 4, 2020 #1 In an implementation of Google Maps with satellite view I am showing several bitmap markers that have snippets that open when tapped. When the snippet is opened two Google icons, a blue arrow and maps icon appear in the bottom RH corner. If clicked they take the user out of the app to the Google maps app. Is there a UI setting that suppresses these icons to give a clean map?
In an implementation of Google Maps with satellite view I am showing several bitmap markers that have snippets that open when tapped. When the snippet is opened two Google icons, a blue arrow and maps icon appear in the bottom RH corner. If clicked they take the user out of the app to the Google maps app. Is there a UI setting that suppresses these icons to give a clean map?
R RichardN Well-Known Member Licensed User Longtime User May 4, 2020 #2 I found an example on Stack Overflow that can be applied using the reflector method to remove the Map Toolbar Code: Copy Private r As Reflector r.Target = gMap.GetUiSettings r.RunPublicmethod("setMapToolbarEnabled", Array As Object(False), Array As String("java.lang.boolean")) Upvote 0
I found an example on Stack Overflow that can be applied using the reflector method to remove the Map Toolbar Code: Copy Private r As Reflector r.Target = gMap.GetUiSettings r.RunPublicmethod("setMapToolbarEnabled", Array As Object(False), Array As String("java.lang.boolean"))
R RichardN Well-Known Member Licensed User Longtime User May 6, 2020 #3 Actually there's an even simpler/easier way using a Java Object: Code: Copy Private jo As JavaObject jo = gMap.GetUiSettings jo.RunMethod("setMapToolbarEnabled", Array As Object(False)) Upvote 1
Actually there's an even simpler/easier way using a Java Object: Code: Copy Private jo As JavaObject jo = gMap.GetUiSettings jo.RunMethod("setMapToolbarEnabled", Array As Object(False))