Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
removed map nullcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
Langston Smith committed Jun 20, 2019
1 parent f972e58 commit a473c3c
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,10 @@ public void onStyleLoaded(@NonNull Style style) {
*/
private void initData(Style fullyLoadedStyle, @NonNull FeatureCollection featureCollection) {
routeCoordinateList = ((LineString) featureCollection.features().get(0).geometry()).coordinates();
if (mapboxMap != null) {
initSources(fullyLoadedStyle, featureCollection);
initSymbolLayer(fullyLoadedStyle);
initDotLinePath(fullyLoadedStyle);
animate();
}
}

/**
Expand Down

0 comments on commit a473c3c

Please sign in to comment.