Optionable textureview (#6480)
* [android] - make using TextureView optional * add deprecation comment on texture mode
This commit is contained in:
@@ -79,6 +79,8 @@ public class PolygonActivity extends AppCompatActivity implements OnMapReadyCall
|
||||
// configure inital map state
|
||||
MapboxMapOptions options = new MapboxMapOptions()
|
||||
.attributionTintColor(RED_COLOR)
|
||||
// deprecated feature!
|
||||
.textureMode(true)
|
||||
.styleUrl(Style.MAPBOX_STREETS)
|
||||
.camera(new CameraPosition.Builder()
|
||||
.target(new LatLng(45.520486, -122.673541))
|
||||
|
||||
Reference in New Issue
Block a user