Is there a way to set the height of a infoWindow? I tried with infoWindow.resize(width, height) but only the width of the infoWindow is changing. Any ideas?
Lukas,
The height property of the resize method has this note:
The new height of the InfoWindow in pixels. This value is set to be the maximum allowable height, if the content doesn't fit within the specified height a vertical scroll bar is displayed.
Meaning that the height is controlled by the content of the popup not to exceed the height set.
Don't forget to mark this question as answered by clicking on the "Mark Correct" link on the reply that answered your question.
1. 2.9
2. PlateauTheme
3. i am working on a custom widget that is listening on a onClick event on the map. After that an infoWindow appears with custom informations. All of that works fine, also setting the width with window.resize but the height doesnt change
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.