You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My opinion as a new developer to GIS systems and Mapbox is that this libraries readme can be improved. Up to this point, I understand how to do to add them in.
let modes = MapboxDraw.modes;
modes = MapboxDrawGeodesic.enable(modes);
modes = MapboxDrawWaypoint.enable(modes);
const draw = new MapboxDraw({ modes });
I am not interested in the geojson or static functionalities in my case, only looking for a method to use the circle functionality. However, from here on I have no idea how to access the methods I need to create a circle as shown in the demo. I am currently investigating the code directly of your example to get a grip, but I don't believe that's the best approach for this. A minimal example should be in the readme, in my opinion.
The text was updated successfully, but these errors were encountered:
Hi, this library is a plugin for mabox-gl-draw. Have you registered it with addControl to your map? There should be draw controls displayed. Geodesic drawing triggers when drawing features with Draw controls.
My opinion as a new developer to GIS systems and Mapbox is that this libraries readme can be improved. Up to this point, I understand how to do to add them in.
I am not interested in the geojson or static functionalities in my case, only looking for a method to use the circle functionality. However, from here on I have no idea how to access the methods I need to create a circle as shown in the demo. I am currently investigating the code directly of your example to get a grip, but I don't believe that's the best approach for this. A minimal example should be in the readme, in my opinion.
The text was updated successfully, but these errors were encountered: