Add layers integration

Add javascript function for the integration.
MapStore integration on widgets mode.

Integrate addLayers for MapStore integration on widgets mode.