We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38728b8 commit 3a944b3Copy full SHA for 3a944b3
src/mapbox.android.ts
@@ -3427,7 +3427,7 @@ export class Mapbox extends MapboxCommon implements MapboxApi {
3427
// we have two options for a radius. We might have a fixed float or an expression
3428
3429
if (typeof style.paint['circle-radius'] == 'number') {
3430
- circleProperties.push(com.mapbox.mapboxsdk.style.layers.PropertyFactory.circleRadius(new java.lang.Float(style.paint.radius)));
+ circleProperties.push(com.mapbox.mapboxsdk.style.layers.PropertyFactory.circleRadius(new java.lang.Float(style.paint['circle-radius'])));
3431
} else {
3432
if (!style.paint['circle-radius'].stops) {
3433
reject('No radius or stops provided to addCircleLayer.');
0 commit comments