Add support of map_layers in the permalink for Mobile integration

The mobile part will arrived soon by @tonio :-)