on 11-04-2016 6:41 AM
Hi,
I am working on a custom Agentry application based on SMP 3.0 on SAP Work Manager 6.2. In my LocationTileView I am passing a NotificationLocationString as a Geometry Object to the BaseLocationStringAdapter and when i test in my android apk the Geometry Location is being plotted on the map.
I want to plot the Location at the center of the map every time I load the map, currently the map centers at some Location which i'm not sure where the coordinates are coming from. What i intend to achieve is similar to clicking the FOCUS button though without zooming.
I had a look at the Arcgis API for Javascript Reference and there is a centerAt function to achieve this. Is there a similar event in Agentry and how can i achieve?
Your assistance is much appreciated.
Regards,
Luckson Moyo
Luckson,
Hi. The main assumption here is that you have the correct data getting returned in the BaseLocationCollecitonAdapter from the Agentry class file. From the Agentry editor, you can see that each of the variables that is being returned.
Most of the Agentry values are controlled by the rules. So you need to look at the rules on some of the Preferred (PREF_*) Agentry rules. Each of those Agentry rules needs to be reviewed for your case and see if you can study the rules to see the midpoint.
Best Regards,
SAP Support Team
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
15 | |
4 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.