add marker snap example