kochizufan
kochizufan

Reputation: 2441

How to set background color as transparent in CARTO Mobile SDK (Xamarin iOS/Android)?

I'm now using CARTO Xamarin Mobile SDK as mobile app's map engine.
For may use case, I want to make the background color of CARTO MapView to transparent.
Anyone know how to do it?

The reason of this requirement is, I want to put another View in back of MapView.
The back view is not static image but dynamic, and I want to show it if map tiles are missing.
So background must be transparent..

Regards,
Kohei

I want to make transparent here

Upvotes: 0

Views: 260

Answers (1)

JaakL
JaakL

Reputation: 4295

You cannot do this with live SDK version, this feature is added to CARTO Mobile SDK 4.1.0, currently in development.

See more: https://github.com/CartoDB/mobile-sdk/issues/88

Update: SDK 4.1.0 alpha version can now be taken from nuget (for iOS or Android), just enable "Pre-release" versions in nuget package loader and pick 4.1.0-alpha-8 or newer for CartoMobileSDK.

Upvotes: 1

Related Questions