I simply don´t get it up and running. Used the code example, added packages in whitelisted-packages added dependencies in POM, but still nothing appears. Using
<java.version>17</java.version>
<vaadin.version>24.1.4</vaadin.version>.
<groupId>com.flowingcode.vaadin.addons</groupId>
<artifactId>google-maps</artifactId>
<version>1.8.3</version>
No error message in log it doesnt show the component at all. Any suggestions?
Edit: A wrong API key doesnt change anything. Looks like its been completely ignored, although it is called, which I can see in debug mode.
Hi Sebastian, can you check if the layout containing the google map component has a height and a width set? I did the same test you mentioned with a starter project from start.vaadin.com. I copied the example and the map was not showing as the vertical layout containing the map didn't have a height specified. The google-map tag was in the DOM though. Can you check that? If you still have issues you can report them here: https://github.com/FlowingCode/GoogleMapsAddon/issues.
Regards.
Thats it! Thanks @Paola
Just as an improvement: Maybe the component itself should define a default height and width or the example could be extended to this. If its just me, having this issue, then ignore it ;)
Thanks for the suggestion. We'll take that into consideration.
Regards.