Skip to content

Map to Nearest Location with MapBox

Generate walking route maps to POI (Point of Interest) locations stored in a Google Sheets spreadsheet and automatically display the map to that location on your digital OOH...

Application Details:

  • Name: Map to Nearest Location with MapBox
  • Class: ThirdParty
  • Capabilities: Core Lucit Application, Data Source Application (Pull)

  • Organization: Mapbox

  • Website: https://www.mapbox.com/
  • LCUID: LCUID-LAP-ae3f065f-b892-4c6e-bc4f-7d216188003b

View in Lucit

🔗 View Map to Nearest Location with MapBox in Lucit

🌐 Website


Adding This Application

Prerequisites

  • A Lucit account (advertiser) or agency/operator account
  • Appropriate permissions to add applications

Add Map to Nearest Location with MapBox to Your Account

  1. Navigate to Apps
  2. Log in to Lucit
  3. Using the Profile Switcher, switch to an Account profile
  4. From the home page, Click on Apps & Data in the left sidebar

  5. Find the Application

  6. Click on ADD NEW Search for "Map to Nearest Location with MapBox"
  7. Click on the app card to bring up the Authorize Application dialog

  8. Add to Account

  9. Review the requested permissions in the Authorize Application
  10. Click the ALLOW button to add this app to your account

  11. Configure Settings

  12. Once added, click on the app in your Apps & Data section
  13. Configure any required settings on the SETTINGS tab
  14. Save your changes

Data Source Providers

The Map to Nearest Location with MapBox application provides data source capabilities. You can use these data sources to pull data from external sources, generate dynamic content for your campaigns and build content triggers for your ads.

This application provides 1 data source provider(s).

Prerequisites to Using Map to Nearest Location with MapBox Data

  • A Lucit Account (Advertiser Account)
  • A Campaign with at least 1 Screen
  • Review the required settings below

Map to Nearest Location with MapBox

This data source allows you to create dynamic out-of-home ads for digital billboards and signage with Map to Nearest Location with MapBox dynamic data that updates in real time.

Overview

Data Source Type: KeyValue

This data source generates Key-Value data that is available globally across all templates in your account. These values can also be used in Triggers / Filters for your creatives in their campaigns.

How to create a new ad with Map to Nearest Location with MapBox

To add values from Map to Nearest Location with MapBox to your creative templates, create a new template and use the Dynamic Data Elements section of the Elements Panel:

  • Create Templates -> CREATE A NEW TEMPLATE button
  • Add macros from Map to Nearest Location with MapBox Templates -> {TemplateName} -> Elements Panel -> Dynamic Data Elements section -> Scroll down to section labeled Map to Nearest Location with MapBox or use the search filter
  • Click on the name of the macro field you want to add to your template (See the Field Map Macros reference below for a complete list)
  • After clicking on the macro name, a new element will be added to your canvas, linked to the specified macro field. Depending on the Type of field (text or img) the appropriate element type will be added.
  • You can then move, resize, style and format this element as appropriate for your template.

How to add triggers using Map to Nearest Location with MapBox data

Triggers allow you to create an ad and then control whether or not the ad will run depending on the value(s) of the trigger. (Multiple boolean logic supported with multiple fields as necessary)

To create triggers for your creatives based on data from Map to Nearest Location with MapBox:

  • Navigate to the campaign page Campaigns -> {Campaign}
  • Use the {FolderWithStarIcon} that appears next to each creative on your campaign page. {Creative} -> Click {FolderWithStarIcon} to open the Custom Filters / Triggers Editor dialog.
  • Create your filter in this dialog using the conditionals:
    • The account.store. keys will appear on the DATA SOURCE FILTER tab of the Custom Filters / Triggers Editor dialog.

Settings

Configure these settings when setting up the data source. These parameters control how the data source fetches and processes data.

Field Type Description Validation
Google Sheet Url text Copy and paste the url to your google spreadheet Required
Map Style text Mapbox map style to customize the look of the map. Available options are documented at https://docs.mapbox.com/api/maps/styles/ To use a style, take the style URL mapbox://styles/mapbox/streets-v12 and extract just the last 2 parts mapbox/streets-v12
Route Line Style text Style for the route line. For example, path-5+3366cc-0.7 is polyline style (5px thick, blue, 70% opacity)
Start marker text Style for starting marker - See https://docs.mapbox.com/api/maps/static-images/#marker To use a custom image, enter url-{urlToImage.png}
Destination marker text Style for destination marker - See https://docs.mapbox.com/api/maps/static-images/#marker To use a custom image, enter url-{urlToImage.png}
Padding text Add padding (in pixels) around the map. Supports 4 values in form t l b r, or 10 10 10 10
Pitch int Control the pitch (vertical viewing angle) on the map. A value of 0 is straight down, supports values from 0-60. Ignored if Auto Center is enabled Min: 0, Max: 60
Bearing int Control the bearing (looking direction) for the map. Ignored if Auto Center is enabled, or if Orient Path Up in enabled Min: 0, Max: 360
Zoom int Control the zoom for the map. If empty (Recommended), Zoom will be automatically calculated for you Min: 0, Max: 22
Orient Path to Sign Facing Direction bool Automatically orient the map so that the the top of the map is in the same direction of the person viewing the sign. This is 180 degrees opposite of the sign facing direction. This takes precedence over any custom bearing or Orient Path Up
Auto Center bool Automatically center the map. Will override all settings for pitch, zoom, and bearing
Orient Path Up bool Automatically orient the map so that the starting point is at the bottom of the map, and the destination point is at the top of the map. Ignored if Auto Center is enabled. Automatically disables bearing setting
Size Formats text A comma separated list of WxH images to generate - e.g. 853x1280,1280x853
Start Marker Overhang text Used for centering the marker. How much visual content extends from the coordinate center point in each direction as a CSV string. Example: 75,0,75,200 means 75px top, 0px right, 75px bottom, 200px left of the coordinate. In other words, if this image is 400px wide, 200px to left of center has image, 200px to right of center is completely transparent
End Marker Overhang text Used for centering the marker. How much visual content extends from the coordinate center point in each direction as a CSV string. Example: 75,0,75,200 means 75px top, 0px right, 75px bottom, 200px left of the coordinate. In other words
Start Marker Variants text Specify custom left and right markers and settings. Depending on where the marker appears on the map, the left or right marker will be chosen, along with the overhang settings specified. The form is { "left" : { "url" : "https://path.to.image.jpg","overhang" : ""},"right" : { "url" : "https://path.to.image.jpg","overhang" : ""} }
End Marker Variants text Specify custom left and right markers and settings. Depending on where the marker appears on the map, the left or right marker will be chosen, along with the overhang settings specified. The form is { "left" : { "url" : "https://path.to.image.jpg","overhang" : ""},"right" : { "url" : "https://path.to.image.jpg","overhang" : ""} }

Field Map Macros

These macros are provided by this data source and can be used in your templates. The macros allow you to access the dynamic data provided by this data source and are in addition to the standard macros available in the Standard Field Map . Learn more about Field Map Types and Structure

Prefix: account.store.

These are values stored in the account key-value store and are the same for every template/ad that you create. These key/values do not depend on the location of the screen but are global to every ad.

Name Field Element Type Data Type Macro Object Code Description
Map To Nearest Location With Mapbox1 Feed Last Run Had Errors text boolean {account.store.MapToNearestLocationWithMapbox1_feed_last_run_had_errors} account_store_MapToNearestLocationWithMapbox1_feed_last_run_had_errors Indicates whether this data source had errors during its last run
Map To Nearest Location With Mapbox1 Feed Last Run Was Success text boolean {account.store.MapToNearestLocationWithMapbox1_feed_last_run_was_success} account_store_MapToNearestLocationWithMapbox1_feed_last_run_was_success Indicates whether the last feed run was successful
Map To Nearest Location With Mapbox1 Feed Last Succesful Run At text datetime {account.store.MapToNearestLocationWithMapbox1_feed_last_succesful_run_at} account_store_MapToNearestLocationWithMapbox1_feed_last_succesful_run_at Timestamp of the last successful feed run


Last updated: 2026-04-21 16:08:16 UTC