Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[android] pulsing circle cleanup tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Langston Smith authored and langsmith committed Sep 24, 2019
1 parent ba50992 commit 3f1abeb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1275,7 +1275,8 @@ private void initialize(@NonNull final Context context, @NonNull Style style,
locationAnimatorCoordinator = new LocationAnimatorCoordinator(
mapboxMap.getProjection(),
MapboxAnimatorSetProvider.getInstance(),
MapboxAnimatorProvider.getInstance());
MapboxAnimatorProvider.getInstance()
);
locationAnimatorCoordinator.setTrackingAnimationDurationMultiplier(options
.trackingAnimationDurationMultiplier());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@

import java.util.List;

/**
* This activity shows a basic usage of the LocationComponent's pulsing circle. There's no
* customization of the pulsing circle's color, radius, speed, etc.
*/
public class BasicLocationPulsingCircleActivity extends AppCompatActivity implements OnMapReadyCallback {

private static final String SAVED_STATE_LOCATION = "saved_state_location";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@
import java.util.ArrayList;
import java.util.List;

/**
* This activity shows how to customize the LocationComponent's pulsing circle.
*/
public class CustomizedLocationPulsingCircleActivity extends AppCompatActivity implements OnMapReadyCallback {


//region

// Adjust these variables to customize the example's pulsing circle UI
Expand Down

0 comments on commit 3f1abeb

Please sign in to comment.