Draw new polygon with PolygonBuilder

451
1
04-30-2021 06:04 AM
96guilhermef
New Contributor

Hello everyone!

Basically I am developing an Android application to map data received from a bluetooth device. To do this I would like to draw polygons based on the current location of the device, and as soon as the application receives new data via bluetooth a new polygon is generated on the location of the device.

See attached a photo representing the expected result.

Could I achieve this with PolygonBuilder ? I would like to know what would be the best way to achieve this ? If anyone has any tutorial or example that can help me I would appreciate it.

Thanks!

0 Kudos
1 Reply
by Anonymous User
Not applicable

Knowing the width is a constant distance, I would look at trying to buffer the line to generate the polygon.

0 Kudos