Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit.Poly middle marker custom icon #1046

Open
4 tasks done
josebui opened this issue Jul 6, 2022 · 0 comments
Open
4 tasks done

Edit.Poly middle marker custom icon #1046

josebui opened this issue Jul 6, 2022 · 0 comments

Comments

@josebui
Copy link

josebui commented Jul 6, 2022

  • I'm reporting a bug, not asking for help
  • I've looked at the documentation to make sure the behaviour is documented and expected
  • I'm sure this is a Leaflet Draw code issue, not an issue with my own code nor with the framework I'm using (Cordova, Ionic, Angular, React…)
  • I've searched through the issues to make sure it's not yet reported

How to reproduce

Right now there is now way to customize the icon for middle markers, just for markers in general, this is important for the users so that it can be even clearer the intent of middle markers.

Middle Marker creation:

_createMiddleMarker: function (marker1, marker2) {

Marker creation:

icon: this.options.icon,

What behaviour I'm expecting and which behaviour I'm seeing

I would expect an option to define the opacity and icon for middle markers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant