Created basic onClick event for point layer only.