added map layer interaction