Select to view content in your preferred language

How to customize the InfoPopupOverlay?

1728
1
Jump to solution
07-06-2016 08:00 PM
BatbayarBazarragchaa
Regular Contributor

I want to customize the InfoPopupOverlay to display feature attributes in different layout or design. Is it possible to customize its layout and design?

Or if it's not possible, how can I handle click event on each object (instance of feature class) of individual feature layer on JMap, so that I can display custom JDialog?

0 Kudos
1 Solution

Accepted Solutions
EricBader
Honored Contributor

Actually, the source for InfoPopupOverlay is in the Toolkit. The Toolkit source is available to you to refactor and recompile for your applications. You can find all the source files for the toolkit in <SDK_Install_Location>/sdk/jars/ArcGIS_Runtime_Java_Toolkit-sources.jar.


InfoPopupOverlay by default uses the PopupDialog to display information, which itself extends JDialog. You can think about modifying the source to bypass this and use your own JDialog if you want.

I hope this helps!

View solution in original post

1 Reply
EricBader
Honored Contributor

Actually, the source for InfoPopupOverlay is in the Toolkit. The Toolkit source is available to you to refactor and recompile for your applications. You can find all the source files for the toolkit in <SDK_Install_Location>/sdk/jars/ArcGIS_Runtime_Java_Toolkit-sources.jar.


InfoPopupOverlay by default uses the PopupDialog to display information, which itself extends JDialog. You can think about modifying the source to bypass this and use your own JDialog if you want.

I hope this helps!