Skip to content

unexpected behavior when click on box #5

Open

Description

@stefanocudini

I think this is strange behavior for a user.
It would be much better if the selected layer remains in the same position

Activity

  1. aparshin commented on Aug 12, 2015

    @aparshin
    Contributor

    I agree that it is a little bit strange to rotate layers in control after selection. The advantage of such behavior is that you can switch two (and even three) last layers by single mouse click.

    We are going to implement other behaviors and add corresponding option in control.

  2. stefanocudini commented on Aug 12, 2015

    @stefanocudini
    Author

    What seem to me is the rotation is random and unpredictable :( ... also in this demo:
    http://scanex.github.io/Leaflet-IconLayers/examples/

    Best way is maintain same position and adding class for selection.

    Besides these it's an great plugin!

  3. aparshin commented on Aug 12, 2015

    @aparshin
    Contributor

    What seem to me is the rotation is random and unpredictable :( ... also in this demo:
    http://scanex.github.io/Leaflet-IconLayers/examples/

    Well, uh... Looks like something is really wrong here :) I'll check it, thanks!

    Best way is maintain same position and adding class for selection.

    The main idea of current algorithm is to show "best next layer" in bottom left corner of the widget (it allows users to select that layer by single click). Such behavior changes layer positions. As I already said, we are going to implement multiple variants of layer selection behavior...

    Besides these it's an great plugin!

    Thank you!

  4. EmiyaGm commented on Sep 10, 2017

    @EmiyaGm

    I've tried to solve this problem, so you can look at my code
    https://github.com/EmiyaGm/Leaflet-IconLayers

  5. jinixx commented on May 23, 2019

    @jinixx

    Thanks for the great plugin guys.

    Our users are however, complaining about the same, will there be an update to this?

  6. marie-becker commented on May 11, 2021

    @marie-becker

    Do you still plan on updating the plugin? Our clients unfortunately complained about it being confusing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions