mhirdes / go_maps_ext

Google Maps Extension for TYPO3
MIT License
21 stars 31 forks source link

Render map programatically / from configuration (instead of plugin / dataset) #69

Closed foobar13372 closed 4 years ago

foobar13372 commented 4 years ago

I have a page layout that already has coordinates in the page properties and a map should appear always at the same position on a page using this page layout. I thought about using go_maps_ext.

Is it possible to define a TypoScript Lib that renders the go_maps_ext plugin without the need of the datasets (maps and Address)?

Using the Extbase Bootstrap with Plugin name, Vendor name, etc. and calling it in Fluid via {f:cObject(typoscriptObjectPath: 'lib.renderGoMapsExtPlugin')} is easy, but the plugin fails because the datasets are not there.

I just need to pass my already existing coordinates. Is this possible by any means?

mhirdes commented 4 years ago

you can try 'tt_content.list.20.gomapsext_show' or https://fluidtypo3.org/viewhelpers/vhs/master/Render/RequestViewHelper.html

or you just include the JS and provide the information of the assign.html by your own