Templates Plugins Courses

Mapbox show Multiple lines

I am using the Mapbox plugin for Bubble and trying to show multiple lines (not polygons). I have them stored in the database and when I load all the lines, the plugin connects them all into one long line.

1 Like

Hello @ariklevy, :wave:

Hope you are doing well.

To assist you effectively with the Mapbox plugin, could you please provide additional details on your setup? A brief overview of your database structure for the lines, the relevant workflows, and if possible, a video demonstrating the issue would be very helpful (we recomend using loom.com).

Once we have more context on how the lines are being processed and displayed, I’ll be in a better position to provide specific advice or potential solutions.

Thank you for your cooperation, and we look forward to helping you resolve this issue.

Best Regards,
Daniel.

Thanks for the quick response. I put together this video to show the issue. Loom | Free Screen & Video Recording Software | Loom

1 Like

I installed the Simple Looper plugin and was able to fix this by looping through each line and adding them individually.

1 Like

Hello @ariklevy, :wave:

Please accept my apologies for the delay over the weekend. :pray:

It’s great to hear that you were able to resolve the issue! Smart thinking!

If you encounter any more challenges or have further questions as you continue to work with the plugin, please don’t hesitate to reach out. We’re here to help ensure that your experience remains smooth and efficient.

Best regards,
Daniel.

Hey Daniel,

I see that you just updated the plugin with Mulitline! Thank you! I can’t find any documentation on it and don’t understand the format for Coordinates and List of Lines. Can you update the docs or reference app with that? Also, are you working on a Remove all Lines, like you have for markers?

1 Like

Hello @ariklevy, :wave:

I’m glad to hear that you noticed the new multiline feature update! I have reached out to the development team to ensure that the documentation gets updated with information on how to use the Coordinates and List of Lines features.

Regarding the “Remove all Lines” feature similar to the one for markers, I have inquired about this as well. Once I receive more information from the development team on its availability or any upcoming updates, I will let you know.

We appreciate your patience and are always working on improving our plugins and documentation to better serve your needs. :pray:

Best regards,
Daniel

1 Like

Hi @ariklevy, :wave:

As per your request, the plugin docs have been updated:


To use the multiline type you should only fill the list of lines field which is a list of strings, where each string represents a line with comma-separated coordinates.

Also, I’m pleased to inform you that our plugin was updated, and the latest update is version 1.114.0. - “Coordinates validation added”. Some changes were added to the code, so the users can leave the coordinates field empty when they select the multiline type. We hope this enhancement will meet your needs and look forward to hearing your feedback. Please update to the latest version to benefit from this improvement. :pray:

Please let me know if everything works well inside your app.

Best Regards,
Daniel.

Hello @ariklevy, :wave:

I am pleased to inform you that our plugin was updated, and the latest update is version 1.115.0. - updated functions code. Please update to the latest version to benefit from this improvement.

Please let me know if everything works well inside your app. :pray:

Looking forward to your reply!

Best Regards,
Daniel.

I’m sorry, but I can’t figure out how to make this work. Can you put a sample string of what is supposed to be in the List of Lines parameter like you did for MultiPolygon?