Services Plugins FAQs

New Features - MapBox

Hi Dumitru,

Apologies for not getting back to you sooner but I’m currently in the middle of a house move so things have been busy for me recently and as such, haven’t been able to spend as much time on this as I’ve wanted. But that aside, here’s some feedback for you and some additions which would not only be useful to myself but for others also I hope.

So, the previous change to toggle the UI controls works as expected, except if you try to run the action when both tick boxes are unticked in the first instance, it doesn’t work. One of them needs to be ticked to start with and then they can be toggled. Minor thing really but just thought I’d point it out. I just load the map with the UI Route Instruction ticked and the UI Map Inputs unticked and then toggle the controls straight after, you don’t see them appear anyway so it’s fine.

The map marker click is no longer just automatically plotting the route, so that’s good, thank you.


The other thing I mentioned before, and I hope it’s not out of scope, would be to add an event called “A MapBox Event is Fired” and have a couple of the more popular events available to select in a dropdown which people might want (I say people, I mean me) :slight_smile:

I would think if anyone wanted the ability to run an action when an interaction with the map happened, it would more than likely be some map drag or click event. If this gets added in the future, it shouldn’t interfere with the click of a map marker and once in place, more events could easily be added in the future if requested.

Action to remove a drawn route on the map (which gets displayed using the “Set Directions” action).
Action to draw the route rather than having it happen automatically when the “Set Directions” action runs because it can really take some time before the route is drawn sometimes and it’s annoying I have no control over it.
Does the Start Location Tracking action have a hardcoded zoom being set behind the scenes? If it does can you make it configurable?


Now the sad part… probably out of scope though
Whilst I’ve been trying my hardest to use the Mapbox GL-JS plugin to support an application which utilises sat-nav type features, there are 2 major things I’ve come across which are almost making me reconsider what I’m trying to do. I don’t think it’s possible for you to fix either of these due to how the JS version works. The correct way would more than likely be for me to use the iOS/Android versions of Mapbox which of course isn’t viable as a Bubble plugin! But… I’ll mention them anyway!

So, the biggest headache is that every time you move the map, zoom the map etc… it wants to download a part of the map. Whilst this isn’t so bad if you’re using it as part of a web page, it isn’t great when you’re trying to create a web app that acts like a normal app and having a sat-nav type of app act like this every time just makes it unusable. It can actually be terribly slow at times but I understand the JS version is probably not the best version to design such an app with, especially when I’m trying to do all of this through a phone using iOS/Android… that’s why the iOS/Android versions of Mapbox exist I guess.

If it were possible to somehow make the map available offline using browser storage then that may solve a few things but technically I don’t know how, or even know if such things are possible using Bubble plugins, especially one like this.

The other thing is the state value you set called “Heading” it never populates and I don’t know why.


Before the update to use v1.4.0, I noticed it slowed down quite substantially.
Whilst Mapbox seem to be busy pushing new versions (currently at v1.6.0) they’ve made some changes to how vector tiles render which I hope will increase speed, some safari web worker/caching changes in v1.5.0 and quite a lot of other things. I’d love to play with the latest version to see how all these perform. I’m almost using all the actions now in the plugin so I can test it just by using what I have so far if you could push an update to use v1.6.0.

https://github.com/mapbox/mapbox-gl-js/blob/master/CHANGELOG.md

Thanks again for everything you’ve done so far.

Regards,
Paul

Just to comment on my own essay above, and filter out most of my waffle…
Speed is no longer an issue now that I know how to use custom styles correctly :grinning:

Requests:

  • Action to remove a drawn route on a map (which gets displayed using the “Set Directions” action).
  • Action to draw the route on a map (this will give a little more control over wen you want it).
  • Start Location Tracking - is it possible to add a zoom parameter to this action?
  • Track a specific user? can this be done given that user has Lat/Long cords?
  • A Mapbox event is fired - triggered when a move of the map occurs after setting a move/click event for example.
  • State - Heading, why doesn’t it populate?
  • Add option into the Add Map Marker action to disable the popup. If you leave the description field empty then it still pops up everytime you click, it just nothing in it.
  • Available states for a This Mapbox Map contain lots of good information but none contain the actual Marker ID. If you can add that in, we can then do things like Do Search where User’s unique ID is This Mapbox Marker’s ID (if using the unique ID for the marker that is) - just makes it a lot easier to do user related things when triggering the ‘when map marker is clicked event’ as we can reference the Marker ID then. In fact, I think right now, it’s virtually impossible to find a user without it and that’s an issue!
  • Is it possible to have a map marker actually move on the map when coordinates behind that marker are dynamically updated in our database? It would be great if so because once a marker is added, it’s kind of static until it gets removed and re-added again. Just a thought really :slight_smile:

I’m full of bright ideas for this plugin hence the updates I keep making! Not expecting them to be implemented anytime soon as I know they’re not on your priority list but this post is turning into my “don’t forget list” so will keep it updated anyway.

Regards!
Paul

1 Like

Hello Paul!

Thanks for feedback and the compact read :slight_smile:

We’ve seen the issues, the requested features and will work on in foreseeable future.
Thanks for support and understanding.

Regards,
Dumitru.

1 Like

Ok, no probs, thanks very much.

Hello Paul! @pork1977gm

We’ve made a run through the feedback provided, so we pushed an update to plugin.
Please upgrade the plugin, refresh the app and give it a try.

This new action was added. Remove Directions

There is an action Set Directions, which can used.

This was added in latest update.

It should be possible to do using workflows with plugin’s exposed states (like current lat and long possitions).

This is only populates on phone’s GPS usage.

This was added in latest update.

This was fixed in latest update, the “Marker ID” state should work as expected.

Thanks for patience and understanding!

Regards,
Dumitru.

That is fantastic news, can’t thank you enough, it will surely make this plugin a lot more useable.
Thanks again!
Paul

Mapbox Requested Features

Here are a few feature requests in order of preference. It would be great if some of these could make it into a future release.

1. Polygon area

I would like to give the user the ability to create polygons on the map that could be stored. I would like to be able to create different coloured polygons for different purposes. For example, a red polygon area would be used for triggering alerts.

2. Display Map Navigation Controls

As requested by @pork1977gm

3. Multiple Waypoints
As described by @pork1977gm at the start of this post

4. Marker Rotation
Add the ability to rotate a single marker’s orientation based on a number field in the database. This would be used to show the direction of travel of a vehicle at a particular point in time.

5. Create a draggable marker

I would like to be able to set the state of mapbox or a marker to be in “edit mode” where the user can drag and drop markers to new locations

6. Get Co-ordinates of mouse pointer

At the moment I can only display the lat and long if I click on the map. Ideally it would update as the mouse moves over the map
image

7. Adjust Layer opacity

8. "When Mapbox 's Bearing Is"
Add mapbox bearing (the map orientation that can be set in actions) to this list.
Purpose: I would like an icon to increase in size when orientation is not zero so the user knows they can select this button to reset the map back to north alignment.
image

Thank you

Hello @alex3

Thanks for feedback! We appreciate it, while can not commit right now on the availability of the requests we’ll walk through the request in order to see how and what is feasible to implement in short term and long term perspective.
We’ll provide an update on the matter, once we’re ready for implementation asap.
Thank you for understanding :pray:

Regards,
Dumitru

1 Like

Hi Dumitru,

Have your team had a chance to take a look at my list to see if there is anything that is potentially doable in the near future?

Best regards
Alex

Hello Alex!

Thanks for checking back! I’m afraid not yet, we haven’t checked the features yet.
However we are committed to maintain and provide updates for the foreseeable future to this plugin.
Sorry for taking this long however.
:pray:

Regards,
Dumitru.

Hi @Dumitru, is there any progress to report on improvements to the mapbox plugin? It’s been 3 months since my suggestion post. It would be good to get at least one of the more trivial tasks pushed through soon. Thank you

Hello @alex3

Thanks for checking back with us, unfortunately at the moment we don’t have any updates regarding the progress of plugin improvements. :pray:
I understand that’s been some time however, we currently can’t commit on a deadline regarding the availability of the requests.
Thanks.

Regards,
Dumitru.

Hello @alex3 @pork1977gm

Thanks for your feedback and patience. :pray:

We’ve updated the plugin with a couple of requested features, which can be found in the latest plugin version.

  • We’ve added Marker Rotation propriety field for Add Marker Action

image

  • For Map Element added new propriety which Navigation Controls and it’s position on Map

image

  • Also added possibility to Create a Route on Map click, (see the demo for workflow setup).

image

  • Added possibility to choose the Language for Route Instructions

Please upgrade to the latest version of the plugin, place the element on page refresh the application.

See our demo setup: zeroqode-demo-08 | Bubble Editor

Regards,
Dumitru

Hi @Dumitru that’s awesome thanks for the update

Hello - is there any update on the ability to add waypoints to a route?

Hi @pasquale,

Thanks for reaching out. I’m afraid the MapBox plugin doesn’t have Waypoints feature, but you can check our MapExtender plugin instead - https://bubble.io/page?type=page&name=map_extender&id=zeroqode-demo-12&tab=tabs-1 where you can add Waypoints to a route.

Hope it helps.

Best,
Alex

Hello Alexandru,

Is this a feature that is on your roadmap for this plugin?

Best,
Pasquale

Hi @pasquale,

I’m afraid we cannot guarantee timeframes on this matter, but we’ll consider your feedback for future possibility, if feasible.

Thanks!

Hi, i’m trying to disaplay how many km between 2 point to generate price, how to proceed ?

Hi, @maelys!
Thanks for reaching out!

So, if you are talking about the Mapbox plugin, then it doesn’t have this feature compared to Google Map Extender plugin. Please check it out. Mare sure you have visited the docs page to explore its setup.

Additionally, please take a look at this thread that might be helpful, where the user used this plugin to calculate the price according to the distance.

Hope this helps!
Best, Julia.