Services Plugins FAQs

Mapbox Plugin Live Tracking Question

Hello,
I have been using the Mapbox Plugin’s Live Tracking Feature to display driver locations on the map. I was wondering if there is a way to have a popup display when one of the icons rendered from the Live Tracking Feature is hovered/clicked. I have tried to use the Marker Clicked action to do this, but nothing happens when I click a Live marker.

Also, is there a way to have a rotation UI icon appear so if the user is on desktop they can rotate the map? I only see a way to have a button to set the rotation to North. Thanks!

Thanks!

1 Like

Hello @Tide99,

Thank you for reaching out to us.

Regarding your concern, I have also observed that the event “Marker Clicked” is not triggered when clicking on a realtime data marker, only on a simple marker. I have forwarded this to our development team for further investigation and to ensure a resolution is implemented so that the event will work with all markers. Rest assured, I will notify you as soon as a new version is available.

If you have any further questions or need assistance in the meantime, please feel free to let us know.

Thank you once again, and I hope you have a wonderful day ahead!

Best regards,
Stefan

Hi @Stephan.
Thank you for the update and for letting the dev team know. I will wait for the update to come through! Do you have any suggestions on how to rotate the map’s orientation via a UI? I only saw a way to add a UI Button that sets the orientation to North. Thanks!

1 Like

Hello @Tide99,

Thank you for your question.

Based on your query, it sounds like you’re looking to adjust the map’s bearing. To do this, you can either utilize the “Set Bearing” action with a specific angle or directly manipulate the map bearing by clicking and dragging the UI button left or right. For clearer guidance, please check out this loom video: Loom Message - 22 August 2024 | Loom

Could you please try these methods and let me know how they work for you? If you have any other questions, feel free to ask.

Thanks again, and I look forward to your response.

Best regards,
Stefan

Hi @Stephan,
Ahh my bad, I did not realize that you could drag the bearing UI icon left or right. I see how it works now. Thank you!

1 Like

Hey @Tide99,

You are very welcome, :slightly_smiling_face:

Feel free to reach out in case you have other questions or difficulties with any of our plugins. :pray:

Have a great week ahead.

Regards,
Stefan

Hello @Tide99,

I hope this message finds you well.

I’m writing to inform you about the latest update for the Mapbox Maps plugin, version “1.151.0”. In this update, we have enhanced the “Marker clicked” event to work with all markers and have made some adjustments to ensure smoother operation.

Could you please update the plugin in your app, test it out, and let us know how it works for you?

Thank you again for bringing this to our attention. We look forward to your feedback. :pray:

Best regards,
Stefan

Hi Stephan,

Thank you for the update. I can confirm that I am receiving a marker ID when I click on the marker from the live tracking now.
Do you know if there is a way to get the estimated trip duration/distance when directions are set on the map? I would assume this data is available since it shows up on the on the UI Route Instructions. Can you expose this state to the plugin? Thanks for all of the help!

image

Hello @Tide99,

Thank you for your message, and we apologize for the delayed response over the weekend.

It’s great to hear that the new improvement is working well for you! Regarding your question on route durations, you can use the plugin’s API call “Get Route Data”. Here, you’ll enter all the necessary route details and then retrieve the duration or other attributes:


Screenshot 2024-09-02 at 13.58.34

Could you please give it a try and let us know if everything works smoothly? If you have any further questions, don’t hesitate to reach out.

Thank you once again, and we wish you a fantastic week ahead!

Best regards,
Stefan

Hi @Stephan - Thank you for pointing this out to me, it is exactly what I was looking for.

2 Likes

Hello @Tide99,

Thank you for your message and update.

It’s wonderful to hear that our previous suggestion was beneficial for your use-case and that everything is functioning smoothly. Please don’t hesitate to reach out if you have any questions or encounter any difficulties with our plugins.

By the way, if you find our plugin and support useful, we would greatly appreciate it if you could spare a moment to leave a review. Your feedback is invaluable to us and the Bubble community; it inspires us to continue creating excellent products and providing top-notch customer service. :blush:

You can leave your review at Review.

Thank you once again, and I wish you all the best!

Best regards,
Stefan

Hi @Stephan - Thanks again for the help. I left a review for you all.

2 Likes

Hello @Tide99,

Thank you so much for taking the time to leave a review—it truly means a lot to us! :hugs:

Please feel free to reach out anytime you have questions about our plugins. It’s always our pleasure to assist you.

Wishing you all the best! :star2:

Regards,
Stefan