Using GoogleMaps and displaying a pricture from Mendix

3
In addition to question 1290; how to display a picture (tumbnail) from the Mendix Entity into the GoogleMaps Balloon ?
asked
1 answers
5

You need to retrieve the GUID of a file document. This can be done with a simple Java action (where item is an argument of type Any Object)

return String.valueOf(item.getId().getGuid());

Then you can generate the following html in an MF and display it in the widget

'<img src="file?thumb=true&guid=' + $guid + '"/>'
answered