B4i Library [class]GoogleMapsExtra

Status
Not open for further replies.

iCAB

Well-Known Member
Licensed User
Longtime User
Hi All
I am looking for the equivalent of:

B4X:
GoogleMapsExtras.Snapshot

as in B4A.

Any help is greatly appreciated.
 

iCAB

Well-Known Member
Licensed User
Longtime User
Hi all
Does anyone know how to show/hide the traffic layer.

Thanks in advance
 

iCAB

Well-Known Member
Licensed User
Longtime User
Thanks Erel,
Unbelievable I was so focused on GoogleMapsExtra (as this is what I used with B4A) to the point that forgot to check GoogleMaps
 

Paul Leischow

Member
Licensed User
Longtime User
After upgrading to lastest B4I v4.00, the GoogleMapsExtra command AddCircle now returns an empty string.
What am I missing?
 

Paul Leischow

Member
Licensed User
Longtime User
Oops... Right you are
Turns out I modified the GoogleMapsExtra.bas file so AddCircle returned a value and when I updated to latest version I lost the Mod.

Any chance we can have this SUB changed in the official file to make it more useful ??

Public Sub AddCircle (Lat As Double, Lon As Double, Radius As Double, Color As Int) As NativeObject
Dim circle As NativeObject = no.RunMethod("createCircle:::", Array(Lat, Lon, Radius))
circle.SetField("map", gm)
circle.SetField("strokeWidth", 5)
circle.SetField("fillColor", circle.ColorToUIColor(Color))
circle.SetField("strokeColor", circle.ColorToUIColor(Color))
Return Circle
End Sub
 

Arnaud

Active Member
Licensed User
Longtime User
Hello,

Is it possible to display a polygone "open" and no close? or maybe to display a single line?

Thanks
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…