Hi everyone:
My Name is José Trujillo, i'm from Chile...
i have a problem, and i can't solved it, i try to put a circle on "any location for now", with the next code:
'Dim CircleRadio As Circle
Dim MapRadio As CircleOptions
MapRadio.Initialize
MapRadio.Center(vPosicionGPS_ToMQTT)
MapRadio.Radius(1000)
MapRadio.FillColor(0xFFEF9A9A)
'MapRadio.StrokeColor(0xFFE57373)
MapRadio.StrokeColor(0xFFEF5350)
MapRadio.StrokeWidth(10dip)
MapRadio.Visible(True)
GMapsExtra.AddCircle(gmap, MapRadio)
- Object called "gmap" is an instance of Lib GoogleMap (I Can see, move, zoom, pinch in, pinch out, renderize and work with the map and full properties and events correctly)
- This lines are in the end of the event "MapFragment_Ready" after my own code.
- The error on Compile is the next:
B4A version: 5.02 (1)
Parsing code. (0.06s)
Running custom action. (0.05s)
Compiling code. (0.17s)
Compiling layouts code. (0.03s)
Generating R file. (0.67s)
Compiling generated Java code. Error
B4A line: 1429
GMapsExtra.AddCircle(gmap, MapRadio)
javac 1.8.0_45
src\b4a\example\testgps\main.java:2106: error: cannot find symbol
mostCurrent._gmapsextra.AddCircle((com.google.android.gms.maps.GoogleMap)(mostCurrent._gmap.getObject()),(com.google.android.gms.maps.model.CircleOptions)(_mapradio.getObject()));
^
symbol: class CircleOptions
location: package com.google.android.gms.maps.model
- Someone know why this happens? i search in all this forum about any tutorial of GoogleMapsExtras and there is no example for implement this.
thank you very much!!!
My Name is José Trujillo, i'm from Chile...
i have a problem, and i can't solved it, i try to put a circle on "any location for now", with the next code:
'Dim CircleRadio As Circle
Dim MapRadio As CircleOptions
MapRadio.Initialize
MapRadio.Center(vPosicionGPS_ToMQTT)
MapRadio.Radius(1000)
MapRadio.FillColor(0xFFEF9A9A)
'MapRadio.StrokeColor(0xFFE57373)
MapRadio.StrokeColor(0xFFEF5350)
MapRadio.StrokeWidth(10dip)
MapRadio.Visible(True)
GMapsExtra.AddCircle(gmap, MapRadio)
- Object called "gmap" is an instance of Lib GoogleMap (I Can see, move, zoom, pinch in, pinch out, renderize and work with the map and full properties and events correctly)
- This lines are in the end of the event "MapFragment_Ready" after my own code.
- The error on Compile is the next:
B4A version: 5.02 (1)
Parsing code. (0.06s)
Running custom action. (0.05s)
Compiling code. (0.17s)
Compiling layouts code. (0.03s)
Generating R file. (0.67s)
Compiling generated Java code. Error
B4A line: 1429
GMapsExtra.AddCircle(gmap, MapRadio)
javac 1.8.0_45
src\b4a\example\testgps\main.java:2106: error: cannot find symbol
mostCurrent._gmapsextra.AddCircle((com.google.android.gms.maps.GoogleMap)(mostCurrent._gmap.getObject()),(com.google.android.gms.maps.model.CircleOptions)(_mapradio.getObject()));
^
symbol: class CircleOptions
location: package com.google.android.gms.maps.model
- Someone know why this happens? i search in all this forum about any tutorial of GoogleMapsExtras and there is no example for implement this.
thank you very much!!!