Wycliffe Kipkogei
Wycliffe Kipkogei

Reputation: 81

Create a Mapbox Point

I am trying to instantiate a Point object from Mapbox, Android SDK but it seems not to have a constructor. Please help.

Point point;
point = new Point();

Can I create a Point from LatLong coordinates?

Upvotes: 1

Views: 182

Answers (1)

langsmith
langsmith

Reputation: 2546

Here's the most basic way to create a Point

Point point = Point.fromLngLat()

Upvotes: 2

Related Questions