Optionable textureview (#6480)

* [android] - make using TextureView optional

* add deprecation comment on texture mode
This commit is contained in:
Tobrun
2016-09-29 15:05:50 +02:00
committed by GitHub
parent 1fd142a449
commit 87a438ec75
5 changed files with 106 additions and 4 deletions

View File

@@ -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))