on 02-19-2015 6:54 AM
Hi,
I am trying to change the icons for the spots on the map in a dynpro application dynamically. Is it possible to change the icon for only some of the spots? If yes, which method should I use?
The images for the icons are located in the mime repository and I added them to the application in the initialization of the application.
Thanks and regards,
Marc
Hello Mark,
The intended place for any UI technology is method DETERMINE_SPOT_ICONS of the control adapter. The default impl. resides in class CL_VBI_CONTROL_ADAPTER_GEO. There are two options for changing the icons:
1. derive your own control adapter impl. and overwrite this method
2. If the default pin assignment is sufficient you may simply replace the images. To do so provide an alternative MIME repository path to method GET_INITIAL_ZIP_ARCHIVE of class CL_VBI_GEOMAP_APPLICATION
In the later case all pin images need to be available under the new path.
Hope the answer your question.
Cheers Uwe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.