Open panel and show Open Street Map

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

Like

1 comments
Best reply

I solved it, I needed to add the GetMapsConfig in messages:

I solved it, I needed to add the GetMapsConfig in messages:

Show all comments