I'm using mapbox-gl-draw to add move-able features to my map. In addition to movability functionality, I am needing rotate/transform -ability functionality for the features akin to Leaflet.Path.Transform.

At current, would my only option to achieve be to create a custom mode?

e.g. something like:

map.on('load', function() {
  Draw.changeMode('transform');
});

I am not able to convert my map and it's features to mapbox-gl-leaflet in order to implement Leaflet.Path.Transform as losing rotation / bearing / pitch support is not an option.

0 Answers 11

Not the answer you're looking for? Browse other questions tagged or ask your own question.