Bravo Studio Help Center
  • Get started with Bravo Studio 👏
  • Get Started
    • 🚀Create your first app
    • 🌟Bravo introduction
      • Get ready to create your app with ChatGPT
      • Create an app
        • Creating an app with Figma
        • Creating an app with Adobe XD
      • Duplicate an app
      • Delete an app
      • Replace linked Figma file
      • The app page
      • Sharing your app
      • Add an editor to your app
      • Fonts
        • Adobe XD - Supported fonts
    • 📱Bravo Vision previewer
    • ✨Unlock power features to create interactive apps
    • 🎓Help and tutorials
      • 📖App guide tutorials
        • Sample app tutorial: Your first binding
        • How to build a Fitness app with Bravo, Xano and RevenueCat
        • Foodgram: Social content sharing
        • Expedition journal: Write and share your adventures
        • My Subscriptions: Display data based on device ID
        • My Notes: using user ID and email from Firebase
        • My Store: Sell physical products with Bravo and Stripe
        • Titan: How to create a Smart Home App with No-Code?
        • n8n: Building an expense tracking app in 10min
      • 📺Learn with videos
      • 📚Learn with articles
      • 🗃️Browse by app feature
        • Save or "bookmark" a page
        • Backend search with Airtable
        • Backend search with Xano
        • Nested lists (list within a list)
        • Create and edit user profile (Firebase + Airtable)
        • Skeleton loader
        • Create albums in your app with Bravo Infinite images
  • Set up your design
    • 🖌️Get your Figma ready for Bravo
      • 🗃️Structuring the design: the layer hierarchy
      • 🪄Bravo Tags: adding functionality to the UI elements
      • 🧱The container
        • Setting up a container on Figma
        • Setting up a container on Adobe XD
      • 📲App navigation
        • Setting up app navigation on Figma
        • Setting up app navigation on Adobe XD
    • 🔌Bravo plugin for Figma
    • 💾Sample design files
    • 🤓Best Practices
  • App components
    • 📒Bravo Tags Master List
    • 🚪Menus
      • Modal Menu
      • Modal pages
      • Tabs Menu
      • Pop Up pages
      • Slide Menu
    • 🍞Pages
      • Modal pages
      • Pop-up pages
      • Swipe page
      • Transitions page
      • Page reveal animations
      • Page tabs
      • 🔮Stateful pages
    • 📦Containers
      • Swipe to delete
      • Top bar
      • Carousel slider
      • Aspect ratio relative to screen
      • Sortable List
      • Layer (sticky element)
    • 👋Intro & Onboarding
      • Intro page
      • Post-login page (Onboarding)
    • ⌛Loading experience
      • Loading page
      • Custom loading page
      • No loading
      • Preload
    • 📝Form & input fields
      • 👁️Password Visibility Toggle
      • 🩷Stateful input
        • ☑️Checkboxes (Multiple select)
        • ✅Required Checkbox
        • 🔘Radio buttons (Single select)
      • ⏳Input time Interval
      • 📄Dropdown selector
      • 🎚️Slider control
      • 🗓️Calendar picker
      • 📄Send form input to a database
    • 💎Components
      • Autoplay Video
      • GIF
      • SVG Component
      • Web view
      • Web Components using AI
      • Web view communication
      • LottieFile
      • Lottie-animated component
      • Flexible text (Flexo)
      • Zoomable image
      • Component states
      • Stateful component (like button)
      • Setting up the backend of Stateful component (like button)
      • Haptic Feedback (Buzzz)
      • Progress bar
      • Rich text
      • Date, Time and Currency Formatter
      • Scrollable text
      • Text Lines & Truncation
      • Status bar
    • ⚡Mobile actions
      • Mobile Actions
      • Play audio
      • Record audio
      • Play video
      • Scan QR code (external URL)
      • Scan codes (remote action)
      • Search & filter
      • Refresh page
      • Share location
    • 📱App Icon & Splash Screen
    • 🗺️Map with markers
    • 📈Charts
  • Data and Backend
    • 🗂️Set up a no-code backend
      • Xano
        • Nested lists (list > list > detail page) with Xano
        • Create a bookmark functionality with remote actions and device ID with Xano
        • Multi-user setup with Xano
        • 🔒Setting up the Xano Log in Snippet
          • ♻️Refresh Token
      • Airtable
        • Nested lists (list > list > detail page) with Airtable
        • Sort list with Airtable
        • Connect multiple tables from Airtable to one app
        • Update Airtable's API key to Access Token
      • Backendless
      • Bubble
      • Notion
        • Getting data from a Notion table
      • Firebase
        • Getting data from Firestore
    • 💾Set up API requests
      • Set up from scratch
        • Airtable
          • Set up an API GET request for list page - Airtable
          • Set up an API GET request for detail page - Airtable
          • Set up an API POST request - Airtable
          • Set up an API DELETE request - Airtable
        • Xano
          • Set up an API GET request for list page - Xano
          • Set up an API GET request for detail page - Xano
          • Set up an API PATCH request - Xano
          • Set up an API POST request - Xano
          • Set up an API DELETE request - Xano
      • Using GraphQL body type
      • Set up with API wizard & importer
        • Using the Airtable API Wizard
        • Using the Xano API wizard
    • 🎲Variables
      • Built-in variables
      • Set Variable
    • 📚Data Collection & Binding: Complete Collection
    • 🗂️Pagination
    • 🐛Debugging API issues
      • ⚙️Debugging requests in the API Collection
      • 📲Event logger
      • 🔗Link property
  • Data binding
    • 🤝Data binding types
      • API binding types
      • Bind multiple API requests to one screen
      • How to connect my API to a mobile actions
      • Remote actions: trigger an API request with a UI element
    • 💡Display data in your app
      • Bind data to design for a list page
      • Bind data to design for a detail page
    • 🆕Create data from your app
    • 🗑️Delete data from your app
    • 🚦Conditional Visibility
    • 🎛️Conditional Actions
  • Integrations & Settings
    • 🖇️Deep Links
      • 🖇️Deep Links for Bravo Vision
      • 🖇️Deep Links for published apps
      • 🖇️Troubleshooting Deep Links
    • 🔔Push Notifications with OneSignal
      • How to get a Bravo page URL
    • ⚙️Firebase Configuration
    • 🔐User Authentication
      • 🔑Authentication with Kinde and Xano
      • 🧙🏽Authentication with OAuth 2.0
        • Using social logins to authenticate users
        • Using AWS Cognito to authenticate users
        • Connecting to Spotify API
      • 📲User login with Firebase
        • ✉️Email and password Login with Firebase
        • 📞Phone Login with Firebase
        • 🍎Social Login with Firebase
        • 👻Anonymous Login with Firebase
      • ⛓️Authentication with custom backend
        • Set up Xano as your user authentication backend
    • 💰Stripe: One-time Payment
    • 💬Chat: CometChat
    • 💸RevenueCat: In-app purchases and subscriptions
    • 📉Bravo Analytics
    • 📳Facebook App Events
    • 📊Google Analytics
    • 🌐Multilingual apps
    • 🕸️How to connect with Webflow API
    • 📡NFC connection
    • 🎯Admob
  • App Publication
    • 🚀Publishing your app
      • iOS Publication: Complete Process
        • 1. Generate Certificates, AppIDs and Provisions
        • 2. Get the IPA
        • 3. Upload IPA to App Store Connect
        • 4. Test your app on TestFlight (optional)
        • 6. App Store publication
        • 7. Updating an app in the App Store
      • Android Publication: Complete Process
        • 1. Create a Keystore File (optional)
        • 2. Get the Debug APK to install
        • 3. Install the Debug APK in your device
        • 4. Get the AAB (Android App Bundle) file to publish
        • 5. Google Play publication
        • 6. Updating an app in Google Play
      • Android APK Installation Guide
      • Rejection from the app stores
    • 🎛️Making changes to your app after publication
    • 🛍️Versioning
    • 🌟App rating alert
  • Good to Know
    • 🤔Troubleshoot
      • Errors when logging in
      • Errors when creating an app
      • Errors in API requests
        • Request timeouts on Bravo
      • Errors after importing
      • Errors in publication form
    • 🧑‍💻Manage your account
    • 💳Billing
      • Bravo Subscription Plans Overview
      • App Add-ons
      • Upgrading a plan
      • Downgrading a plan
      • App allowance
      • Invoices & payment method
      • FAQ
    • ❓FAQs
      • About Bravo Studio
      • Importing a design file
      • Bravo Vision
      • Bravo Tags
      • API & Data Library
      • Login & Account
      • Other Features
  • NEED SOME HELP?
    • 📖Bravo Support Guide
    • 🤝Join the Bravo community
    • 🤖Bravo Assistant
    • 👥Production support
    • 🐞Report an issue
Powered by GitBook
On this page
  • 👉 The Tags
  • ⚒️ How to set it up
  • 🎨 Design file setup
  • 🔌 Binding the map component to marker data
  • 📲 Preview on Bravo Vision
  • 💾 Example files

Was this helpful?

  1. App components

Map with markers

PreviousApp Icon & Splash ScreenNextCharts

Last updated 1 year ago

Was this helpful?

Show a place or a list of places in a map as markers, and bind those markers to a detail page! With the Map with Markers component, apps can display a map showing real locations in it.

You'll need:

  • A .

  • Marker data, which should be a list of items containing, at least, a name and coordinates (latitude and longitude numeric values). You can replicate our to get started.

👉 The Tags

To create the interactive map:

[component:map:interactive]

To create the map as a fixed image with the markers, not movable or zoomable:

[component:map]

To specify statically the centre of the map and the zoom value:

[component:map:<latitude>:<longitude>:<zoom>]
[component:map:interactive:<latitude>:<longitude>:<zoom>]

This tag is used to centre the map itself and define a zoom, NOT to add a marker at this location. Use case: To display an area on the map where the centre is not necessarily where the map marker(s) are.

To require location permissions to the user in a certain app screen (place the tag in the top-level app page):

[require:location]

To create a custom marker:

[asset:marker:default]

⚒️ How to set it up

🎨 Design file setup

To add a map component in the design file, create a rectangle element and add the tag [component:map:interactive] to it. This element will show a map in the app after importing it to Bravo. In case you want the map to be a fixed image with all the markers (not movable or zoomable), add just [component:map].

To center the map in a specific location point, use the [component:map:<latitude>:<longitude>:<zoom>] or [component:map:interactive:<latitude>:<longitude>:<zoom>] tags. <latitude> and <longitude> are the map center's coordinates. <zoom> needs to be a number from 0 (zoomed out) to 22 (zoomed all the way in). These values can also be bound to API data, as we'll show in the next section. To do that, do not specify any of the values in the tag, use just [component:map] or [component:map:interactive].

The [component:map:<latitude>:<longitude>:<zoom>] tag is only used to centre the map itself on the specified location, NOT to add a marker at this location.

To add any marker to the map, it's necessary to bind the map component to a list of items coming from an API (explained in the sections below).

It is possible to customize how the map markers will look in the map when using the app. To do that, create a page-level component and add the tag [asset:marker:default] to it. Inside it, you can insert an SVG component or a PNG image with a transparent background.

The size of the marker icon in the map will be proportional to the size of the top-level component it's placed in on the design file (the one with the Bravo tag).

In case you want to show more data when a user clicks on the marker, you can bind a detail page to the map component. To do this, add a separate app page to the design file, and create a prototyping link from the map component to the screen.

🔌 Binding the map component to marker data

Once the design file is ready, import it into Bravo to bind it to the list of markers. The map component will be displayed in the Data Binding section, with some bindable properties.

As mentioned earlier, it is possible to center the map in a location point when the user opens the screen containing it. To do this, click on the map component and bind the Latitude, Longitude and Zoom features as shown below.

To display the markers in the map, it's necessary to bind the map component to a list of items coming from an API. These items must, at least, contain the following properties for each of the markers: latitude value, longitude value and name.

To bind the data fetched with this list request, open the Map Marker component shown below. Then, we'll need to bind a list of markers to the Points property. This data item must be a list, containing all the marker data.

After binding the list, we'll bind the individual properties of each marker, Name, Latitude and Longitude, to their corresponding data items.

📲 Preview on Bravo Vision

Now, you'll be able to preview the map with the markers on Bravo Vision!

💾 Example files

If you need to use device location in the app (to center the map in that location, for instance), add the [require:location] tag in the app page layer. This will ask the user to share their location with the app when opening that screen. More on location variables .

The map does not refresh automatically to center it in the user's location. However, you can send the user's location using and setting up a request against a service called . You can bind that request to the center location properties (latitude and longitude) as shown below. This way, the map will be centered on the user's location the first time it is opened.

We'll set up a in the Data Collections section. This request will obtain a list with all the markers from the backend. You've got a sample Airtable base with marker data at the end of this guide.

Finally, to bind the data for the detail page, we'll need a returning a single item from the marker list. In case you use our sample Airtable base, and use the import wizard in the Data Collections section, this request will already be set up for you. Once the request is created, we can bind the data to the detail page.

🗺️
here
location variables
HTTPbin
list request
detail request
Bravo Studio account
sample Airtable base
LogoBravo Sample: Maps with MarkersFigma