Greetings Everyone,
I would like to create a PopUpRenderer with a button as it's content. I'm not seeing any clear way to add a button that run's it's own function when clicked. Any forwarded insight will be greatly appreciated. Thanks, Tyler
Tyler,
So for that you need to edit the PopUpRendererSkin.mxml as I mentioned earlier. There are several thread talking about how to do this. Here is one:
Add button to PopupInfo
Thanks.
I need to be able to add a button and some instructional text to the popup. Basically, I want to create an 'Add' button to the popup so that I can kick off a function that will add the graphic to a feature layer. Something like the ZoomTo button would be great but I would have to be able to attach my function to the onClick event.
Tyler
Are you asking for a popup that ONLY has a button or are you asking how to add a button to a popup (like the Zoom To button)? Either way this would involve editing the PopUpRendererSkin.mxml from the Flex API.
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.