MetadataMap - adobe-dmeservices/custom-metadata GitHub Wiki
Map Fields
The Map field displays an interactive map based on the GPS coordinates embedded in the file's XMP metadata. It is a read-only field — it displays information from the file but does not allow the user to edit the map or update the GPS coordinates directly.
The Map field reads the following EXIF GPS properties:
exif:GPSLatitude— Latitude of the captured locationexif:GPSLongitude— Longitude of the captured locationexif:GPSAltitude— Altitude at the time of capture (in meters above sea level)exif:GPSAltitudeRef— Whether the altitude is above (0) or below (1) sea level
The map is rendered using Leaflet and OpenStreetMap and shows a marker pin at the captured location. Users can zoom and pan the map interactively.
Note: Map fields are read-only and are not available in Lightroom Classic.
Configuring a Map Field
Because the Map field reads standard EXIF GPS properties, you do not need to configure XMP namespace or property details for the map itself. You only need to configure the Display Name and, optionally, the map height.
- Display Name — The label that appears above the map in the View.
- Map Height (px) — The height of the map in pixels. The default is 240px. The minimum is 100px and the maximum is 800px.
To display GPS altitude, latitude, and longitude as editable fields alongside the map, add separate Number or Text fields pointing to the corresponding EXIF properties. For altitude, it is recommended to enable the EXIF rational format option, since GPS altitude is stored as a rational number (e.g., 169/1).
GPS Coordinates in the Table Field
A common configuration pattern is to combine the Map field with a Table field whose columns point to the GPS latitude, longitude, and altitude properties. This provides a compact display of the GPS triplet with the map above.
Supported Applications
| Application | Supported |
|---|---|
| Adobe Bridge | ✓ |
| Adobe Photoshop | ✓ |
| Adobe Illustrator | ✓ |
| Adobe InDesign | ✓ |
| Adobe Premiere Pro | ✓ |
| Lightroom Classic | ✗ |