New locate button in Map tour template

634
3
01-02-2014 02:25 PM
BrianWays1
New Contributor III
Is it possible to implement the new locate button into my current template without having to download the new template? Does anyone know which lines of code I would just need to edit or add, besides changing false to true in the maptour-config.js? I am just trying to avoid completely redoing my existing map tour template.

Thanks!
0 Kudos
3 Replies
GregoryL_Azou
Occasional Contributor III
Hi,
It is possible but it require to edit the source code, install the developer environment and rebuild the application.
You should not go that way except if you have implemented a lot of customization.
Customization done in 2.0 shouldworks in 2.2 without any edits. Let me know
0 Kudos
BrianWays1
New Contributor III
It seems that the only way to get the Locate button to work is by using the AppID instead of the webID? Otherwise an error occurs and you don't need to change the enable locate button to "true" in the configuration?
0 Kudos
GregoryL_Azou
Occasional Contributor III
Before V2.2, the location button was always present in builder mode on the mobile view.
It is not strictly related to using an appid or a webmap id but it's true that you can't go in builder mode with a webmapid.
0 Kudos