up demo by what
This commit is contained in:
parent
26bfe4ae36
commit
2238380e80
7 changed files with 43 additions and 13 deletions
|
|
@ -136,7 +136,7 @@
|
|||
// Get event properties
|
||||
const properties = event.properties;
|
||||
const coordinates = event.geometry.coordinates;
|
||||
const label = properties.label || 'Unnamed Event';
|
||||
const label = properties.name || properties.title || properties.short_description || properties.label || 'Unnamed Event';
|
||||
const what = properties.what || 'unknown';
|
||||
const timestamp = event.timestamp ? new Date(event.timestamp) : new Date();
|
||||
const formattedDate = timestamp.toLocaleString();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue