-2

I am developing an android application with Mapbox where I am supposed to mark the map based on some value received from the accelerometer. I was able to put marks like this

this

and this

this

I tried the line layer also but it is marking the complete area like this

this

Is there any other option to mark line only selected areas?

James Z
  • 12,209
  • 10
  • 24
  • 44

1 Answers1

0

Sure, what you want to do is called "Draw a GeoJSON line".

Here is the link to the documentation: it should be easy to follow along.

minchaej
  • 1,294
  • 1
  • 7
  • 14