Hey,
iam adding a line to the map via
Code:
SKPolyline polyline = new SKPolyline();
List nodes = new ArrayList();
nodes = new ArrayList();
nodes.add(new SKCoordinate(edge.getFrom().getY(), edge.getFrom().getX()));
nodes.add(new SKCoordinate(edge.getTo().getY(), edge.getTo().getX()));
polyline.setNodes(nodes);
polyline.setColor(new float[]{0f, 0f, 0.5f, 1f});
polyline.setOutlineColor(new float[]{0f, 0f, 1f, 1f});
polyline.setOutlineSize(1);
polyline.setIdentifier(id);
polyline.setOutlineDottedPixelsSolid(1);
polyline.setOutlineDottedPixelsSkip(1);
mapView.addPolyline(polyline);
I get a very thick line at the map at maximum zoom level (19) (see attachment) beside my current position with heading from the magnetometer.
But at the map i can see very thin building edges. Is there a way to get such lines? Or is it possible to increase the maximum zoom level?
Best regards,
Patrick
Bookmarks