Services Plugins FAQs

MapBox Plugin: Center long and lat not updating

Hi

So another important thing for working with navigation using the mapbox plugin, is having an updated center position.

This is crucial for doing conditions in workflows and eg. adding elements to the map everything the center position is different from the current location.

So, please make the Lat and Lon variables on the MapBox element auto update.
Just like the JSnavigator.geolocation.watchPosition(showPosition) script for the current lon and lat position.

Condition example:

This feature is a deal breaker for my app.

Hey @siticum,

We conducted thorough testing, and on our end, we observed that the map’s center coordinates and address are automatically updated as the map changes. You can check out this video for a demonstration:

It appears that you are using your Bubble app in a native application. Could you please specify whether you wrapped your app with our Air Native wrapper or if you used a third-party software for this purpose?

Hoping to hear from you soon :hugs:

Hi Dorel

Long reply wait on my side. Another project kept me busy, but back at it.

I am using Natively (its the only wrapper that can handle all my apps requirements atm).

I have tested it in BDK as wekk, and the LON LAT is not updating there either.

Any chance you want to pick this issue up again and address the issue?

Might have something to do with permissions. Not sure.

If you can add a trigger “When map center is moved…” This would be great. That way I can avoid having a condition listen for and compare the center with the current location all the time and save substantial workloadunits.

I have send an invite in a DM for the TestFlight version of Roamio to try it out in case. Make sure to click on the version number at the bottom of the context menu and add the code “DEBUG”.

/Sejr

Hello @siticum,

I trust you had a pleasant New Year, and it’s a delight to hear from you again. :blush:

Regrettably, our plugins are primarily designed for web-based functionality. We cannot guarantee flawless performance when they are wrapped by a third-party wrapper solution, as conflicts may arise due to differing libraries or methods employed by these software components.

Could you please test the application directly within a web browser and inform us if the behavior remains consistent? Your feedback would be greatly appreciated. :pray:

Wishing you a fantastic day ahead :hugs:

I did, and likewise Dorel. I hope you had a blast as well :slight_smile: Crisp winter weather here!

I understand. But dispute not being designed for native use, being able to use it in have apps is highly relevant. Not just for me, but many others users and use cases!

I hope you will improve on it to make it work more smoothly there as well.

However, it doesn’t work for me on the web version either. Normal geo location does. What you see on the gif below is just a text field with the variables added from the Mapbox element. They are not updating. Location sharing is enable for the site.

chrome-capture-2024-0-8

You can try it out at roamio.online/version-test/app

Click the logo on the slash screen to hide it, then enable DEBUG MODE in the context menu to bring up the text box.

Hello @siticum,

Could you please confirm the version of the plugin you are currently using? Additionally, it would be immensely helpful if you could provide us with screenshots showcasing the settings of the Mapbox element, including the layout configurations.

I will do my utmost to investigate why it is not functioning on the web as well and, with any luck, resolve the issue on the wrapped app. :pray:

Below, I’ve included a GIF from one of my test pages where I examined it across all responsive layouts. It worked consistently on my end.

ezgif.com-video-to-gif-converter

Looking forward to hearing from you soon! :hugs: