I need to make it open a panel with Open Street Map on it but my code is not working, when I click on the button I added, it gets the loading screen but doesn't show anything and the console shows an error.
My Code:
{
showMapContainer: function() {
var mapsConfig = {
mapsData: []
};
mapsConfig.mapsData.push(
{
address: "0.0, 0.0",
content:"Check-In
",
gpsE: "0.0",
gpsN: "0.0",
isCoordsItem: true,
useCurrentUserLocation: true
}
);
MapsUtilities.open({
mapsConfig: mapsConfig,
scope: this
});
}
}Error:

Like
1 comments
Best reply
22:14 Sep 30, 2022
I solved it, I needed to add the GetMapsConfig in messages:

22:14 Sep 30, 2022
I solved it, I needed to add the GetMapsConfig in messages:

Show all comments