Zeroqode mapbox plugin problem on mobile

Hello. I bought the zeroqode Mapbox plugin, but I can see it has some bugs on the mobile view. After I connected the Mapbox map with a workflow of [On page load = Start location tracking on mapboxmap] it does the job of tracking the current user location, but when I open on mobile view and try to drag it to another location, it automatically drags me back to the current user location and its so frustrating because there is no way I can zoom out to see other location on the map. Does anybody have a solution to the problem? I will appreciate it.

Thanks

Hi,

@developer7 I think you have to turn off Location Tracking to stop the automatic recentering on the current pos.

However, the zooming is also reset to the initial setting set up using “Start Location Tracking”. Soo the user cannot zoom in and out using pinching or with the MapBox +/- button. I tried to have my own +/- buttons using first “Set Zoom” then “Start Location Tracking” using a value from a state with the zoom value. I still zooms to the original value.

Also:

  • when pinch zooming the user can “Create route onClick” even if that’s not enabled.
  • the route is not always drawn, but the MapBox route input fields show the addresses.

And a question. In your example app you have a 3 sec delay before executing setting up directions. Is that a delay to ensure the map is ready for work (as one needs to check that Google Maps are ready before executing commands)?

Can you help out @levon @ZeroqodeSupport?

Best Peter

Hi @philledille ,

Thanks for reaching out. Yes, it is done just to give some time so it handles the execution properly.

Sorry @developer7 for such a delay. If you still experience the same troubles, please let us know. A screencast would be super helpful, so we can see the behavior on your side and try to replicate on ours.

Best regards,
Zeroqode Team

@ZeroqodeSupport

Did you notice my additional issues above?

  1. Zooming when location tracking is not in harmony.
  2. Pinching sets route.
  3. Directions not always showing up: Loom | Free Screen & Video Recording Software
  4. Style breaking the map: Loom | Free Screen & Video Recording Software

Please advice.

Best, Peter

Any updates on this @ZeroqodeSupport? :grinning:

Hi @philledille ,

Thanks for your feedback and sorry for late reply. :pray:

Please let us investigate this one on our side as well, with a couple of testing rounds, then get back to you with working solutions asap.

Best regards,
Zeroqode Team

Hi @philledille,

We’re reaching out with an update. After a couple of testing rounds and MapBox investigation, the thing is that On page load it really may take a while until it loads and manages to display the route and also zoom in. Unfortunately, it is not plugin-related but pure Bubble. The possible workarounds would be: either removing the Location Tracking, or playing around with the pause before next action so it actually manages to handle everything.

Regarding styles, the Custom one is working properly on our side, and it should be running smoothly on yours as well, but it is important to set the style properly. MapBox needs to approve the created style so it is registered in their database, and you’ll be able to set it via plugin. This link should be helpful - check this link https://docs.mapbox.com/studio-manual/guides/publish-your-style.

Hope it helps.

Best regards,
Zeroqode Team

Big thanks for looking into and coming back on this so swiftly.

Cheers, Peter

1 Like

Hi @philledille,

Always welcome. In case you do like our plugin so far, could you please rate it by going to the Plugins tab within your editor? You can find it by name and give as many stars as it deserves. The more feedback we get, the more motivated we are to build great plugins! :slight_smile:

Best regards,
Zeroqode Team

Will do when I get it flying! :grinning:

1 Like

@ZeroqodeSupport I’ve experimented with delays but sometimes it takes a really long time. So, therefore I would need to display an animated loader. But to remove that when the map is ready I would need to be able to ask the map if it’s ready (as you can do with the Google Map).

How can I do this? Could you make this possible?

Best, Peter

Hi @philledille ,

Thanks for feedback. Please let us check on it then get back to you asap!

Best regards,
Zeroqode Team

Hi @philledille ,

This would actually imply the improvement on existing plugin. We have taken your inputs into consideration to see how feasible it is. :pray: We canno guarantee estimates on this matter, unfortunately, but in case we do publish a new version, we’ll notify you immediately!

Thanks for understanding.

Best regards,
Zeroqode Team

Ok. Thanks for letting me know.

Best, Peter

1 Like

Hi @ZeroqodeSupport

I’m still not getting the style to work. We now use the same account for both the general MapBox access and the style. But still, it just turns grey.

Could I just email you our keys so you can try, pls?

Best, Peter

Hello, @philledille
Thanks for your question.

Allow us to mention that this option is working properly on our side. Thus, please check if you are using the latest version of the plugin in your application.

If yes, we kindly ask you to provide us the screenshots of your current plugin’s settings. Unfortunately, we are not using the keys of our users for checking the correctness of the application, as verification of the private keys is beyond our Support duties. :pray:

Looking to hear you soon.
Best regards,
Zeroqode Support Team.

Yes, using the latest version.

My map initially looks like this:

When I press the Style button I get this:

This is the workflow for the Style button (the pause is 2 secs):

Thanks, Peter

Hello, @philledille
We are sorry for our late reply.

Just as a proposal, could you please use the 500 ms pause before the next action ( as in our example)?
image

Also, please let us know if your style is created as Public Style. The most probable reason for the appeared issue is in the style itself.

As a solution, allow us to propose you create another style, following the instruction, which was provided earlier, and to try all these steps with a new style.

Please try it and let us know about the result.
Bets regards,
Zeroqode Support Team

@ZeroqodeSupport Hi… there is an issue with this plugin breaking it… the way points are sending out the wrong ID when you click them… It is always one click behind… meaning you click point 1, you get no ID, you click point 2 you get point 1’s ID, you click point 3 and get point 2’s ID.

I would like to use this, but without working points, it is not very useful.

Hello, @ryan8
Thanks for reaching out.

Firstly, please allow us to ask you for more details on your request. It will help us to investigate your request more carefully.
Also, please provide us a screenshot (or maybe a screencast) of your current settings for the waypoints and let us know the scenario, how exactly you are willing to use them.

Looking to hear you soon.
Best regards,
Zeroqode Support Team