Add a new venue to the map.
Category id of the new venue.
Venue geometry.
id of the new venue
The id of the venue to get the address for.
an address of the venue with the provided id.
an array of all the venues in the WME data model
all possible venue categories and their localised names.
An id of the venue to look for.
venue with id, or null if not found in the WME data model
a list of charging station brands
a list of gas stations brands
a list of parking lot brands
Get venue parking lot type.
The id of the venue to get the parking lot type for.
parking lot type of the venue in case the venue is a parking lot, null
othervise.
a list of the venue main categories and their localised names.
a list of the venue sub-categories, their main category id and their localised names.
Optional
permission?: VenuePermissionA name of the permission to check. If not provided, the method checks whether the current user has any permissions for this venue.
An id of the venue to check the permissions for.
whether the current user has a permission for this venue or not.
Update venue navigationPoints attribute. Method replaces the existing navigation points with a new set.
New entry or exit points for the venue.
The id of the venue to be updated.
Display the Place Update Request dialog for the specified venue, showing any pending update requests.
The ID of the venue for which to display the update requests.
Update venue address.
Optional
houseNumber?: stringA new house number for the venue.
Optional
streetId?: numberAn id of the new street for the venue.
The id of the venue to update the address for.
Update venue attributes.
Optional
aliases?: string[]New aliases for the venue.
Optional
brand?: stringNew brand for the venue.
Optional
categories?: VenueCategoryId[]New categories for the venue.
Optional
description?: stringNew description for the venue.
Optional
geometry?: Point | PolygonNew geometry for the venue.
Optional
lockRank?: numberNew lock rank of the venue.
Optional
name?: stringNew name for the venue.
Optional
openingHours?: OpeningHour[]Array of opening hour objects. Each object defines a set of opening hours for specific days of the week. Optional.
Example:
[
{ days: [0, 1, 2, 3, 4, 5, 6], fromHour: "09:00", toHour: "17:00" }, // Open every day 9am-5pm
{ days: [5, 6], fromHour: "09:00", toHour: "22:00" }, // Open weekends 9am-10pm
]
where days
is an array of numbers representing days of the week (0 = Sunday, 1 = Monday, etc.)
and fromHour
and toHour
are strings in 24-hour format ("HH:MM").
Optional
phone?: stringNew phone number for the venue.
Optional
services?: ServiceType[]New services offered at the venue.
Optional
url?: stringNew website URL for the venue.
The id of the venue to be updated.
Updates the isResidential
property of a venue.
true
if the venue is residential
The id of the venue to update.
Updates the approved status of a Venue Update Request (PUR) associated with a venue.
This method allows you to approve or reject a Venue Update Request related to a specific venue. It's used to modify the state of a suggested change for a venue (e.g., updating the venue's name, address, or other attributes).
A boolean value indicating whether to approve (true
) or reject (false
)
the Venue Update Request.
The ID of the venue that the Venue Update Request is associated with.
The ID of the Venue Update Request to update.
Methods for dealing with Venues.