Skip to Content
avatar image
Former Member

Start ESRI map with my coordinates as center


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.


Luckson Moyo

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 04, 2016 at 02:42 PM


    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

    aa.png (245.3 kB)
    Add comment
    10|10000 characters needed characters exceeded