Forum Academy Marketplace Showcase Pricing Features

đŸ—ș Mapbox Maps - Total revamp of one of the most popular Bubble plugins from Zeroqode

This is giving back the measurement of the perimeter lines of the polygon, not the SQ Volumetric Data. If i draw a polygon i want to know how many square meters that is
 not the measurement of the polygon. The polygon is generally ideal for the SQ volume (sq meters / sq miles) which is why MapBox has a triangulation API. The polygon should be hooked up to the MapBox triangulation API and not the measurement alone. The line draw mode is used for measuring and the poly mode should be used for volumetric data, imo. Can this be added to it?

If the expected outcome is that it currently should do what i just described, then it is not giving the correct data. I saw the polygon area call, and assumed it was volumetric since AREA is a volumetric word. If it is just the outside lines, then it should be polygon perimeter NOT area.

Hi @philledille, thanks for your patience :pray:
We’ve checked this issue and found that, unfortunately, we can’t do much in this regard, as it is related to the Mapbox platform functionality itself (especially relating to routes).

Please let us know if there is anything else that we can help with about our plugin :pray:


Hi @ryan8, sorry for the delay with the feedback.

Within the plugin, we are using a third-party library for area calculation: Turf.js | Advanced Geospatial Analysis, and by its capacity, it is calculating the area (not the perimeter lines) in square meters.

Please let us know if the provided reply helped you in a way, or any other plugin-related help is required.

Regards,
Zeroqode Support Team

Thanks for checking! Cheers, Peter

1 Like

@ZeroqodeSupport Hello! First off just want to say the plugin has been absolutely fantastic. It has been a pleasure to use, and this forum is also a real testament to how much Zeroqode cares about its customers and the no-code community.

  1. Is there any way you guys could add the ability to edit the style of the text in the description of a marker? Or is that already in and I’m just missing something.

  2. This might be too complex, but would it be possible to add in the ability to filter the data from a list of visible markers on the map depending on the currently visible area of the map? For example: if each marker is a restaurant, with each restaurant having a user rating between 1-10, would it be possible to make a dynamic list of restaurants filtered by rating from highest to lowest in the area that is currently being viewed on the map? And if the user zoomed in/out or panned to a different area, the dynamic list would adjust to the most liked restaurant currently viewable on the map.
    With a feature like this, I know the community could create some incredible applications that are beautifully unique to a map interface.

Hi @projectmuse.dev, thank you very much for your appreciation :hugs:
It really matters for us and makes us to make our products even better.

The style of the text in the marker description can be edited by using HTML in the “Description” field.

Thank you for your suggestion, we will check how feasible would be to add such a feature to the following plugin updates.

Meanwhile, a possible workaround would be to use the “Add list of markers” action with filtered search results.
For example, in the first step user see all added markers, then, when he wants to see only filtered results, you can delete all of them, and use a “Add list of markers” action with a “Do a search for” on certain parameters.

Hope the provided hints will help. In case there will be any other questions that we can help with, drop a message here :wink:

Have a nice day!

Regards,
Zeroqode Support Team

1 Like

Good news for Mapbox fans!!
We’ve pushed a plugin update, that has added the possibility to create and style clusters.

The source GeoJSON can be generated on any specialized platform (for example https://geojson.io/), where you can also include information that will be displayed on the field shown on click and field that returns as a state.

To check changes, please upgrade your plugin to the latest version (Version 1.43.0: added new action “Create Clusters”) and give it a try.

@stuart4 this feature might be interesting for you, in case cluster creation is a key feature of your project.

Regards,
Zeroqode Support Team

2 Likes

Very interesting, I’ll have a look

1 Like

I am using the map to show 2 markers. 1 for the office location and another for the job location with a route displayed between the two. This is working as seen in the first photo. What I am struggling to accomplish though is to get the map to zoom in so that the route can be viewed.
It centers the map automatically to path of the route but view picture number 2 has the zoom level is so far the one can not even see both points.
I could manually set the zoom level to a static number however some “jobs” may be 10KM away while others could be 300 KM away.
I see on Mapbox website itself they offer this option using whats called a bounding box where I supply the southwest and northeast corners of the box.
[32.958984, -5.353521], // southwestern corner of the bounds
[43.50585, 5.615985] // northeastern corner of the bounds

Is there any way for me to set the zoom level to nicely zoom to fit the route or is there any easy way to add some javascript and extend the functionality manually that you could share?

image
image

See here for an example, one would expect routes to automatically center and zoom to display the route or provide some option to acheive this without manually zooming in each time.

The other free mapbox plugin offered on bubble has this functionality, hoping I am either missing something or this can be added right away as this was more expensive plugin that I have now paid for but am unable to make use of as intended.

Thanks!

Hi @coty, thanks for reaching out.

On current plugin functionality, the required functionality might be achieved through the calculation of the route’s middle point (through Bubble platform functionality) and usage of the “Fly to” action.

Thank you for your suggestion, we’ve passed it to the developer team for consideration, to see how feasible would be to add such a feature in the following plugin updates.
In case any news will appear in this regard, we will let you know.

If so far there is anything else that we can help with about our plugin, please let us know.

Regards,
Zeroqode Support Team

For a $30 plugin from Zeroqode, I was expecting a much higher level of quality. This is the second time I have required support and both times I have been basically shrugged off. To implement this requires this line of code -
map.fitBounds([
[32.958984, -5.353521], // southwestern corner of the bounds
[43.50585, 5.615985] // northeastern corner of the bounds
]);

Furthermore, I have never seen any map program that does not pan to fit a route or directions once they have been entered. I will now spend my coming day/s building a custom integration to mapbox that will include this as I am not even able to customize your option. I need the mapbox ID of the map and you dont expose that info, at least not anywhere I can see.

I am also out $30 for an extension I will make no use of because of this truly menial issue.

Hi @coty, apologies for the inconvenience met during our plugin usage :pray: and really sorry for the created impression about the provided support.

Despite this impression, we really strive to help our users with any appeared issue. We’ve checked all previous communication with you and didn’t find any unsolved requests.

Therefore, please share the link to the first request, so we would be able to check and see how can we improve the situation.
(in case it is related to the Keyboard Shortcuts plugin reported bug, please note that it has been fixed and a notice about that has been sent on our forum thread)

As for the case of the earlier-mentioned feature request, we would like to let you know that your feature request has been added to the plugin development roadmap. Meanwhile, we tried to help you by providing a possible workaround, while the development team was considering the feasibility to implement it.

Please specify what do you mean by the Mapbox ID (reference documentation or example of where it can be used and how)? It will allow us to better understand your request and help you out.

Sorry again for not being able to provide an easy solution to the requested feature. The feature adding is in progress. Once any news will appear, we will let you know asap.

Please let us know if we can help with any other plugin-related questions.

Regards,
Zeroqode Support Team

1 Like

Thank you


I looked into the previous request, it had to do with the keyboard shortcuts. I see the bug in question on that plugin is now fixed, I was just never notified of such.

Please let me know when you have added the bounding box to your plugin, it has every other feature I need to finish this up and thanks for reaching out and giving me an update.

Coty

@coty thanks you for reply.

While the developer team is working on the improvement, please check if the “Set directions” action would serve your requirements, it allows flying to the route location, displaying the route points on the appropriate zoom level.
image

In we’ve understood your case wrong, please share a bit more details on the use case that you are trying to implement.

Regards,
Zeroqode Support Team

@ZeroqodeSupport

So this is exactly what I needed however I was using this function prior with different results. The map would fly to the route but would actually zoom out to zoom level 1 no matter how big or small my route was.

I am not sure if anything has been changed or updated on this plugin or if I possibly had something wrong in my settings or workflows causing this issue but none the less I have it working now as intended.

I want to apolagise for my harsh criticism in my past post. I was rather frustrated after purchasing and should of taken more time to explain the issue in which case we may have figured this out as per your post above.

Thanks for all your help,
Coty

1 Like

Thanks so much for the help!!

While the description can be edited when adding a single marker, there is no way to edit the style of the description for a list of markers, even though the description field is always displayed as text.

Also, it would be very nice if with the workflow, “mapbox marker is clicked” the data of the specifically clicked marker was attached to that workflow. For example, in the above screen shot where the marker type is “Marker 2”, the “when marker is clicked” workflow could interact with the data of that specifically clicked marker. That way there could a loooot more cool workflows that could be done with that. For example, upon clicking a marker, you could display data of that “Marker 2” in a pop-up, or edit its data, orobviously depending on what that data was, you could do much more. It would make that action so much more powerful, and the plugin as a whole much more powerful as well!

1 Like

Hi @projectmuse.dev, thank you for message.

Please share a bit more details about the use case that you would like to implement. It will help us to understand what we can advise in this case.

For that, when the action “add list of markers” is used - the exposed state (Marker ID) will return the marker’s unique_id from the database. Using this ID, all related information can be retrieved from db.
In the case of the “add marker” action, this state will return the ID that is indicated in the field of the related action.

Looking forward to your reply.

Regards,
Zeroqode Support Team

Thank you so much! This is very helpful and I was able to do exactly what we needed with the marker ID’s. This replaced the need for a more customizable description, since by making use of the marker ID’s we were able to make a group that could dynamically show any data we needed about the marker.

I have one more broad question. So the application we are building involves creating a marker for each user. This means there will be potentially hundreds of markers in one area/city. After doing some testing with fake users, once we surpassed around 50 markers, the map slowed down significantly, and around 150 markers became unusable, not loading anything.

Do you have any suggestions for what would be the best way to go about this? Or would loading this many markers simply not be possible? :frowning:

Thanks!!

Hi @projectmuse.dev, thanks for your reply, and glad to hear that provided hints helped :hugs:

Allow us to investigate this moment internally :pray: Once any results will become available, we will let you know asap.

Regards,
Zeroqode Support Team

We’ve tried to replicate this case on our side and more then 150 markers are showing properly on our side.
Would it be convenient to add as a collaborator to your app (adding [email protected]) or share a screencast with the plugin/workflows set up, and use case, where the slowed load is shown?

Looking forward to your reply.

Regards,
Zeroqode Support Team