Existe alguma maneira de alterar o tamanho da janela pop-up no ArcGIS Online para um mapa da web? (Ou então editar o modelo do pop-up)
Francine,
If I understand your question correctly and you were in reference to an ArcGIS Online map you have published, yes. The pop ups are substantially configurable and even support some HTML and Arcade code. Although size is not directly controllable you can modify the content which indirectly affects the size. Take a look at:
Configure pop-ups—ArcGIS Online Help | ArcGIS
Supported HTML—ArcGIS Online Help | ArcGIS
Combining Arcade and HTML for a Real-life Pop-up Display
You can customize the Esri popup size through its CSS property's. Simply use the following code in your <style></style> and change whatever you wish to your liking and add or remove different CSS properties:
<SPAN class="selector token">.esri-popup__main-container</SPAN> <SPAN class="punctuation token">{</SPAN> <SPAN class="property token">max-height</SPAN><SPAN class="punctuation token">:</SPAN> ?px <SPAN class="property token">min-height</SPAN><SPAN class="punctuation token">:</SPAN> ?px <SPAN class="property token">max-width</SPAN><SPAN class="punctuation token">:</SPAN> ?px <SPAN class="property token">min-width</SPAN><SPAN class="punctuation token">:</SPAN> ?px <SPAN class="punctuation token">}</SPAN> <SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.