Hey Alex,
Does the plugin have ability to draw a line as the crow flies from point to point?
Jake.
Hey Alex,
Does the plugin have ability to draw a line as the crow flies from point to point?
Jake.
Hi Jake, yes absolutely. You can check this out for yourself âDrawing on a map and saving coordinatesâ section of the plugins demo app.
Hope that helps and if youâve any other questions just let me know.
Alex
I would love to learn how to use the drawing mode. Do you have any tutorials for it?
Hi @Francesca, thanks for your interest in my Beautiful Maps - Mapbox plugin!
The pluginâs demo app has a pretty detailed section on how to use drawing mode - itâs the section called Drawing on a map and saving coordinates.
The plugin documentation also has a section that goes through drawing mode.
I recommend checking out both of those resources first. If you have any specific questions after that Iâm happy to help
Hi Alex,
Thank you for your quick response. Iâve managed to look at the map and somewhat built a first version of the map which allows the user to draw and shape and save the GeoJSON coordinates to my database. What I am struggling to do is to translate these coordinates into square meters and meters the same way you have it in the demo (i.e. once the user has drawn the shape, how do I show the square meters of the polygon area or the meters of the line drawn?)
Please let me know if you have any information to help me do this.
Thank you
Fran
Hi @Francesca, the MapboxMap element that comes with the plugin has 3 exposed states:
You can access these exposed states via the 'Insert Dynamic Data button.
Hope that helps
Subject: Feature Request: Support for Marker Clustering in Beautiful Maps Plugin
Hi @alexcooney5 ,
First of all, thank you for building the Beautiful Maps pluginâitâs been a great addition to our Bubble project.
We were wondering if you would consider adding support for marker clustering in a future update. This feature would allow markers that are close to each other to be grouped into a single cluster icon, showing the number of markers in that group. It would greatly improve the visual clarity and user experience when displaying a large number of map points.
A possible implementation could follow the approach used in Mapbox GL JS with cluster: true and point_count properties.
We believe this enhancement would be very valuable for many users managing multiple markers on the map.
Thanks again for your great work, and looking forward to your thoughts!
Best regards,
Moby
Hi Moby, thanks for using my plugin and for the kind words.
Iâll be honest Iâd love to add in the clustering feature, but itâs quite a complex feature (given it interacts with other actions) and isnât as simple as adding a few extra parameters. Iâve a pretty jammed product roadmap for the next while so Iâm unlikely to be able to add it in the near-term.
Sorry about that.
Not ruling out adding it in the future, but I just wonât have time in the near-term.
Hi, Alex!
Is there a way to when a marker drag ended action happens and latitude, longitude and unique id is captured it also retrieves the address (street name, number, cityâŠ)?
Hi Alex,
Thanks so much for the quick and honest reply â I really appreciate it!
Totally understand that clustering is a complex feature and that your roadmap is full right now. Iâll keep an eye out in case it becomes available in the future. In the meantime, thanks again for creating and maintaining such a great plugin!
All the best,
Moby
Appreciate the understanding Moby.
Will be sure to keep you updated and if youâve any other questions just let me know.
Hi @azarroyodev, yep Iâve just released a new version of the plugin that lets you do this.
IMPORTANT NOTE: When creating your Mapbox Access Token I always recommend restricting it to the URL that youâre using for app. However, this wonât work for the âMapbox - Get Address from Coordinates API Callâ as itâs effectively being made from Bubbleâs own server. Youâll need to create a separate access token for this specific call and add it to the âAPI Keyâ and âAPI Key - dev.â fields:
Iâm showing the Token above because itâs restricted to my appâs URL. Iâm not showing an API Key as it is not - but you will need to add an unrestricted access token to the API Key fields to use the Get Address from Coordinates call
At the end of all that, you should be able to get the location of any marker youâve dragged:
cc @baxt.be and @zico.gaeffke I know you guys enquired about this feature before
Hello! Thanks for the explanation, Iâve done everything and it worked. Just need help with something that is happening with me.
Iâm from Brazil and the address it retrieves from latitude and longitude appear to be wrong. Every time I dragged the pin in my city, it fills the state with totally wrong address, another city, another number, etc.
When I move the pin to São Paulo - Brazil, in any street, it just fills the state with São José dos Campos, Brazil that is completely different city.
I noticed that the longitude and latitude numbers are right, but the address does not have relation to them
Would you be able to share some screenshots of your setup @azarroyodev?
Specifically, would you be able to take a screenshot of the âGet Address From Coordinatesâ API Call?
Minor change to âFly to Locationâ action - May-25
Released a small update today (based on user feedback) for the âFly to Locationâ action. Previously, if you âflewâ to a marker and showed a popup you would have to close the popup via the close button.
You could not close the popup by clicking elsewhere not the map.
Todayâs update means the popup will now be exited if a user does indeed click elsewhere on the map:
This feels like the more natural behaviour and it also makes it consistent with the âAdd List of Markersâ action.
Any questions just let me know