イベント用のピンを配置する関数 !function event_pin(event)