B4J Question How to change the color of Label in jGoogleMaps

bvonlaar

Member
Licensed User
Longtime User
Hello,
in another thread I found the solution for creating permanent labels for marker in jGoogleMaps.

You can use this code:
B4X:
Sub SetMarkerLabel(m As Marker, text As String)
   Dim r As Reflector 'jReflection library
   r.Target = m
   r.RunMethod4("invokeJavascript", Array("setLabel", Array(text)), Array As String("java.lang.String", "[Ljava.lang.Object;"))
End Sub

How can I change the color of the "text" displayed in this label?

Benedikt
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0
Top