When open something¨Function ¨

Please add a function for when open something… exemple: zoom for map , and set when open … then call the all function more better