justinmanley / Leaflet.Illustrate

Rich annotation plugin (drawing, text, and more) for Leaflet. Designed to help people tell the story behind their maps.
MIT License
43 stars 22 forks source link

text box handles are missing #25

Open more-urgent-jest opened 6 years ago

more-urgent-jest commented 6 years ago

Hi. when adding a text box via an additional leaflet.draw toolbar button and editing the text box no handles are shown for resizing, rotating or moving the text box. Looking through Leaflet.Illustrate.js it looks like these should be available and in the demo they are available. is there anything you have to do to make them available? Once the text box is drawn I am only able to edit the text.

image

there are no errors in the console and it happens in both browsers I checked: chrome and edge

to add the text box to the toolbar I followed your instructions in issue #15 Include textbox tool to leaflet.draw and modified it a bit to fit in with existing code and I'm guessing that I got something wrong.

Is it, because the edit toolbar of leaflet.draw doesn't know about L.Illustrate.Edit.Textbox?

janusbenissa commented 6 years ago

@ more-urgent-jest any progress on this? I'm looking for the same.