jweiland-net / maps2

This TYPO3 extension enables you to implement Google Maps on your website.
GNU General Public License v2.0
13 stars 16 forks source link

No map if "Explicitly allow requests to the map provider" is active #318

Open wowaTYPO3 opened 8 months ago

wowaTYPO3 commented 8 months ago

Hi Stefan,

I'm in the process of integrating the extension into a customer project. However, if I activate "Explicitly allow requests to the map provider" in the extension settings, no output is rendered at all. The surrounding DIV remains completely empty. I'm using OpenStreetmap as Provider.

TYPO3 12.4.13 maps2 11.0.2 PHP 8.2.17

Attached 2 screenshots. 2024-03-22_08-48-23

2024-03-22_08-48-43

joeschi commented 5 months ago

Had the same problem. I solved it changing typoscript. Go to file maps2/Configuration/TypoScript/GoogleMaps/setup.typoscript (or according file in your sitepackage)

Change the line: tt_content.list.20.maps2_maps2 = USER_INT

to tt_content.list.20.maps2_maps2 = EXTBASEPLUGIN

Now it works.

Further Inormation: https://docs.typo3.org/m/typo3/reference-typoscript/main/en-us/ContentObjects/Extbaseplugin/Index.html