add onLayerClick event