• Resolved berlo

    (@berlo)


    ?Hi! I would like to make a large cycle map.

    I want to display “cycle routes” on the map (line color: red, green, blue, black, yellow, orange) and my trip suggestions (color e.g. purple, pink).

    Is it possible to create a “cycle routes” category with several line colors? I would like the filter overlay to include “cycle routes” (several colors) and “trips” (several colors). So that you can select/deselect a category with one click.

    Just like here: https://roweremposlasku.pl/sonda/

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Joe

    (@morehawes)

    Hi @berlo,

    Thanks for reaching out ?? I believe I follow your suggestion and I think structurally it would make sense to have multiple Maps, each with your routes and trips identified using Types.

    You could then group the Maps using Collections. Collections can either be embedded using the Shortcode, or viewed as an archive.

    Currently however (as you may have discovered), when viewing a Collection containing multiple Maps there is no way to distinguish/filter them individually.

    I like the idea of adding something like this to the plugin, though it could be quite a bit of work to implement – especially making it compatible with the existing Overlay Filter. I will have a think on this and see if I can come up with something, it may be some time though.

    If you have any other questions feel free to ask!

    Cheers,

    Joe ??

    Thread Starter berlo

    (@berlo)

    Thanks for this! ??

    I have one more question. Is it possible to set hover tolerance for lines? (extend click tolerance round an object on the map)

    Greetings

    Damian

    Plugin Author Joe

    (@morehawes)

    Hi @berlo,

    I have one more question. Is it possible to set hover tolerance for lines? (extend click tolerance round an object on the map)

    Is this to make it easier to trigger clicks, without making the Line itself wider?

    I definitely think that this would be a nice feature to include. I don’t believe it has been requested before, but I have previously looked into it as I found it a little annoying at first.

    The solution I found recommended drawing a second Line that is wider and invisible, which would act as a “buffer” and trigger clicks to the actual Line. I also came across this plugin for Leaflet.

    At the moment I am actually doing a major refactor of the plugin code and trying to simplify things, so I am a little reluctant to add new features right now.

    I appreciate the request though and will keep this in mind for the future ??

    Cheers,

    Joe

    Thread Starter berlo

    (@berlo)

    Of course I understand.
    Congratulations on a great plugin. I will patiently wait for new updates ??

    Greetings
    Damian

    Plugin Author Joe

    (@morehawes)

    Congratulations on a great plugin. I will patiently wait for new updates

    Glad to hear! Stars and Reviews greatly appreciated ??

    Joe

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Lines category’ is closed to new replies.