Example Code
Parameters
Must be “map” - defines the widget type
The name of the widget, shows up as the map title
Unique reference ID of the widget
Special equation object where the
"result" should be of the form "{latitude: 0.000, longitude: 0.000}"An equation that must result in true/false and can hide the widget if certain conditions are met. If
visibleIf==false, any fields referencing this field will errorFlag for whether the widget should be always hidden from users
Coordinate Format
The equation result must provide latitude and longitude coordinates:Dynamic Coordinates
You can make coordinates conditional based on user inputs:Functionality
Display Only
Shows Google Maps embedded view at specified coordinates
Limited Interaction
Users can only zoom in and out of the map view
Common Use Cases
- Site Location: Display project location for wind/seismic data
- Geographic Context: Show building location for environmental loads
- Reference Location: Display coordinates for code-specific regional parameters
- GIS Integration: Visual reference for geospatial data inputs
Best Practices
- Ensure latitude and longitude values are valid (lat: -90 to 90, lon: -180 to 180)
- Use meaningful labels to indicate the purpose of the map
- Consider making the map conditional if not always relevant
- Test with different coordinate sources (user input vs project defaults)
- Provide fallback coordinates for edge cases