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

Polyline rendering on Samsung Galaxy Trend Plus #4494

Closed
danswick opened this issue Mar 28, 2016 · 3 comments
Closed

Polyline rendering on Samsung Galaxy Trend Plus #4494

danswick opened this issue Mar 28, 2016 · 3 comments
Labels
Android Mapbox Maps SDK for Android bug

Comments

@danswick
Copy link
Contributor

Per a help request:


We have some issue drawing a polyline. It works on all devices we tested, except a Samsung Galaxy Trend Plus (GT-S7580) with Android 4.2.2 and we are using the 4.0.0-beta2 version of Mapbox. In the previous Mapbox version (3.2) we had the same problem.

If we zoom in the map, we can see a portion of the polyline (please see the attached screenshots). As you can see, the markers are correctly drawn.

image
image

This is the source code:

PolylineOptions options = new PolylineOptions();
  for(Point point : route.getJsonpoints()){
    for(PointLatLng latLng : point.getPath()){
      options.add(new LatLng(latLng.getLat(), latLng.getLng()));
  }
}
options.color(ContextCompat.getColor(getContext(), R.color.path_color));
options.width(15);

map.addPolyline(options);

cc @bleege

@bleege bleege added Android Mapbox Maps SDK for Android bug labels Mar 30, 2016
@cammace
Copy link
Contributor

cammace commented Nov 9, 2016

Is there a way we could test this using the latest SDK beta version 4.2.0-beta.4 @danswick? Never seen this issue and with runtime styling there might be a workaround now.

@danswick
Copy link
Contributor Author

danswick commented Nov 9, 2016

We haven't been able to confirm this issue. Closing for now. We can reopen if there are future reports.

@danswick danswick closed this as completed Nov 9, 2016
@jonbe242
Copy link
Contributor

jonbe242 commented Dec 1, 2016

We see this issue too on this device. Not strictly the same problem, though, but more generic. The device draws NO lines at all in the map, no matter how wide they are styled. Tested with MBGL from this spring and from master-branch about a month ago.

How can we help to pinpoint the issue?

Screenshot from Samsung device:
image

Screenshot from Nexus 5X device:
image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android bug
Projects
None yet
Development

No branches or pull requests

4 participants