How To Calculate The Distance Between Two Points In A Map (Bubble.io Tutorial)

Поделиться
HTML-код
  • Опубликовано: 8 фев 2025

Комментарии • 18

  • @financial_news_explained
    @financial_news_explained 11 месяцев назад +1

    Thanks! Super helpful.

  • @hakantuzel5268
    @hakantuzel5268 9 месяцев назад +1

    Perfect 🤩

  • @TheBlackPort
    @TheBlackPort 3 месяца назад

    good stuff!

  • @pedrocdo9599
    @pedrocdo9599 5 месяцев назад

    Is there a way to just right click on the map and say calculate distance of this road? And then click again like 1 or 2 blocks away. You can do this in regular google maps, but the right click menu options don't popup if pick the map element on bubble. For context, I need to get the distance between two points in a map, typically a few blocks.

  • @AutoPilotLab
    @AutoPilotLab 3 месяца назад

    How do you calculate two locations saved in the database? For example, from a store location and the user's delivery location?

    • @BuildingWithBubble
      @BuildingWithBubble  3 месяца назад

      Good question. It'd follow the same method as I mention in this video, but instead of referencing values stored in an input field, you'd just need to use the 'do a search' function to pull the value from your database.
      Hope this helps.

  • @samtaylor6554
    @samtaylor6554 Месяц назад

    Building an Uber Clone...how do you get the distance and duration to show under the map after user has input pickup and destination locations. Just trying to get that info added to the main screen. Thanks.

    • @BuildingWithBubble
      @BuildingWithBubble  Месяц назад

      Good question. You could add a text element and perform the same calculations mentioned in this video. These text elements can update in real-time as the distances/times change

    • @dominiquemiller4513
      @dominiquemiller4513 28 дней назад

      Just a tip. The "distance to" tool calculates distance as the crow fly's and NOT driving distance. If you look at Google driving distance you'll see that your's is off because of this. You'll need the distance and duration API for an accurate driving distance.

  • @WeRecover
    @WeRecover Год назад

    is there anyway to draw a polygon on a map using a free map plugin on bubble? trying to calculate area from that polygon

    • @BuildingWithBubble
      @BuildingWithBubble  11 месяцев назад

      From what I'm aware, this won't be possible with the free map plugin that Bubble provides. You'll need to install a paid plugin to build something advanced like this.

  • @stephentsang9194
    @stephentsang9194 Год назад

    sorry but which plug-in do you use to get the map functionalities please?

  • @Ovkay
    @Ovkay Год назад

    How about calculating the duration ?

    • @BuildingWithBubble
      @BuildingWithBubble  Год назад

      Great question. This is possible using a third-party plugin like Mapbox. It provides a bunch of additional features that the default Bubble map element doesn't include.
      Hope this helps point you in the right direction!