M.App Enterprise Discussions

Discuss topics with other M.App Enterprise Product pioneers and experts to get the most out of it.
Showing results for 
Search instead for 
Do you mean 
Reply
Staff
Posts: 29
Registered: ‎11-16-2015

How to automatically center map with GPS when navigate to MapView in M.App Enterprise Mobile App?

Hi all,

as in a subject - I'm trying to navigate to a map and display it in certain zoom scale ( easy) but with GPS derived location ( without the usage of manual action shell "AutoCenterMapAction". Is this possible? How to do it? Java API or other methods?

Kind regards

Tomasz

Contributor
Posts: 71
Registered: ‎10-10-2015

Re: How to automatically center map with GPS when navigate to MapView in M.App Enterprise Mobile App

[ Edited ]

Hi, i hope this helps. 

 

In your XML Map: 

 

<NativeMap.ShellActions>
<NavigateSelectionAction Type="Secondary" />
    <AutoCenterMapAction Type="Secondary" />
</NativeMap.ShellActions>