Map-Only Sources
The new map and routing features in DayBack are currently in preview.
If you'd like these features enabled for preview in your DayBack, please get in touch. (Maps, routing, and drive times require DayBack's Plus plan.)
Overview
Sometimes, you need to display records on the map regardless of the date range shown on the calendar. These might include:
- Customers who don’t have an active service appointment.
- The current locations of your service vehicles.
You can add these records from Salesforce objects or FileMaker tables just as you would with events or appointments. However, for map-only records, date and time fields are not required, but location fields are.
Unlike regular calendar events that appear in both the calendar and the map (if they have a geocoded location), map-only sources are configured like “calendars,” but appear only on the map, not in the calendar view.
Calendar Info for Map-Only Sources
When creating a new calendar in DayBack, you’ll find two key settings that convert it into a map-only source. For most map-only use cases, you'll want to set both of these to "Yes."
What these settings mean:
- For Maps Only:
- When set to "Yes," records in this source will not appear in the calendar when navigating between dates.
- Even if these records have dates and times, they will only display on the map.
- You can still use date/time fields for other useful information (such as tracking a customer’s last service date), but these dates won’t determine a record's visibility on the map.
- Limit to Map Boundary
- When set to "Yes," date and time fields become optional, and a GeoCode field is required.
- DayBack will only load items within the visible map boundaries, optimizing performance.
- When set to "No," DayBack will require a date/time field and will only display records that:
- Fall within the calendar’s date range AND
- Are within the visible map boundaries.
- This behaves like a regular event with a location but will only appear on the map, not the calendar.
Field Mapping for Maps and Distances
Most of field mapping configuration for "maps-only" sources is largely the same as it is for regular calendar sources. However, the map, route, and distance features in DayBack depend on a Location
field and a Geocode
field described here: Mapping Location and GeoCode Fields.
For general information on mapping your fields, including details about each of DayBack's standard fields, please refer to our article on Field Mapping.
FileMaker Specific
To enable map-only sources in FileMaker, you must also add two calc fields of the type "number
" and indexing set to "as needed
." Note that the calcs below assume that your geocode field is named "geocode
." Replace that with the actual name of your geocode field.
DBk_Geocode_Lat
Trim ( GetValue ( Substitute ( Geocode ; "," ; "¶" ) ; 1 ) )
DBk_Geocode_Lng
Trim ( GetValue ( Substitute ( Geocode ; "," ; "¶" ) ; 2 ) )